Skip to content Skip to sidebar Skip to footer

Uncaught Error: Call To Undefined Function Mysql_connect() [duplicate Online Error]

i was making adjustment in my online website . but when i was click the login it always show this error. im having a problem with this, when im using this codes in wampserver its o

Solution 1:

mysql_connect was removed in PHP 7.0.

Your local version is most likely running an older version of PHP.

http://php.net/manual/en/function.mysql-connect.php

Use mysqli or PDO instead

http://php.net/manual/en/function.mysqli-connect.php

http://php.net/manual/en/pdo.connections.php

Post a Comment for "Uncaught Error: Call To Undefined Function Mysql_connect() [duplicate Online Error]"