Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/ssd4/948/3399948/public_html/checklogin.php:5 Stack trace: #0 {main} thrown in /storage/ssd4/948/3399948/public_html/checklogin.php on line 5
Can help me
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/ssd4/948/3399948/public_html/checklogin.php:5 Stack trace: #0 {main} thrown in /storage/ssd4/948/3399948/public_html/checklogin.php on line 5
Can help me
Use PDO instead
Original File
mysql_connect(ālocalhostā,ārootā,"") or die(āCannot connect to serverā);
mysql_select_db(ādataā) or die(āCannot select Databaseā);
Edit
mysql_connect(ādatabases.000webhost.comā,ārootā,ā123456ā) or die(āCannot connect to serverā);
mysql_select_db(āid3399948_dataā) or die(āCannot select Databaseā);
Is this a script youāve wrote or a premade one?
original file in my script
can u help meā¦
i never use free webhost to publish my systemā¦but now i have to publish my systemā¦
i cannot connet DBā¦
okā¦i set lower PHP versionā¦
i get error Warning: mysql_connect(): ProxySQL Error: Access denied for user ārootā@ā2a02:4780:bad:f00d::eā (using password: YES) in /storage/ssd4/948/3399948/public_html/checklogin.php on line 5 Cannot connect to server
in my localhost NOT use password
but in webhost i set password 123456 but i still get that errorā¦i change use and no password still get error
mysql_connect(ālocalhostā,ārootā,"") or die(āCannot connect to serverā);
mysql_select_db(āid3399948_dataā) or die(āCannot select Databaseā);
You canāt use root
host is localhost
username/database names are under Manage Database as well as passwords at 000webhost.com
okā¦but i still get errorā¦new error from another pageā¦i have change my coding all page?ermā¦i get tired coz thatā¦
Notice: Use of undefined constant username1 - assumed āusername1ā in /storage/ssd4/948/3399948/public_html/menu_user.php on line 4 Parse error: syntax error, unexpected T_STRING in /storage/ssd4/948/3399948/public_html/sqlconn.php on line 6