Call to undefined function mysql_connect() php 5.6.19 code example
Example: call to undefined function mysql_connect()
Try checking to see if the PHP MySQL extension module is being loaded:
<?php
phpinfo();
?>
If it's not there, add the following to the php.ini file:
extension=php_mysql.dll
Save and Restart You Apache HTTP Server