Hello all, I have recently gotten into PHP and MySQL software programming, and I am at a lost as of right now. When I attempt to view the page I get this message:
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\index.php on line 343
$connId = mysql_connect($DBHOST, $DBUSER, $DBPASS);
is the only line of code on line 343..
If anyone can help me with this I would most appreciate it.
PHP error
Moderator: General Moderators
Re: PHP error
Uncomment
line (i.e. remove the ";") in your php.ini and restart Apache.
Code: Select all
extension=php_mysql.dllThere are 10 types of people in this world, those who understand binary and those who don't