undefined function mysql_connect() php 7.3 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