This topic is locked
[SOLVED]

 Call to undefined function mysql_connect() in

3/20/2010 6:40:36 AM
PHPRunner General questions
C
Code11 author

Suddenly out of the blue I get the following :Fatal error: Call to undefined function mysql_connect() in F:\xampp\htdocs\Cars\include\dbconnection.php on line 9

The design works fine, can connect to DB. Uninstalled version 5:1 rebooted and re installed . Could anybody please give me some advice. Thanks

C
Code11 author 3/20/2010



Suddenly out of the blue I get the following :Fatal error: Call to undefined function mysql_connect() in F:\xampp\htdocs\Cars\include\dbconnection.php on line 9

The design works fine, can connect to DB. Uninstalled version 5:1 rebooted and re installed . Could anybody please give me some advice. Thanks



After many hour of searching the following

the extention used is: extension=php_mysql_libmysql.dll

The path was shown as extension_dir = "ext" and after changing it to the full path: extension_dir = "F:\xampp\php\ext" the problem was solved.Thanks to the forum and Jane's previous reply to a similar problem.