PHP : mysql_connect

Published by

Posted on July 11, 2009

Fatal error: Call to undefined function mysql_connect()

Make sure the mysql extension has been enabled in the php.ini file. normally as or you can check using the phpinfo() function.

Lastly ensure you are using double quotes in your connection string and not single