これは私のconfig.php私はこのコード(mysqlとphp)にエラーがありますか?
<?php mysql_connect('localhost', 'id2266180_test', 'testtest'); mysql_select_db ('id2266180_test');?>
であり、これは誤り
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/ssd2/180/2266180/public_html/config.php:9 Stack trace: #0 /storage/ssd2/180/2266180/public_html/index.php(3): include() #1 {main} thrown in /storage/ssd2/180/2266180/public_html/config.php on line 9
'mysql_ *'関数は、PHP7のように除去されています。代わりに 'mysqli_ *'関数を使用してください。 – MrDarkLynx
ありがとう@ MrDarkLynx –
もしあなたがそれを使いたいのであれば、PHP 5.6にダウングレードする必要があります – HoogleyBoogley