Today I have installed MySQL 5.0.0-alpha-nt on Win 2000. Server is working fine. I was trying to implement mysqli. PHP is not interecting with MySQL properly.
Following Code:
<?php
$link = mysql_connect('localhost', 'root', 'my password');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
Generates error ...
Fatal error: Call to undefined function mysql_connect() in C:\Xitami\paddyhtdocs\test.php on line 2
Please help. How to get rid of it?
I have turned on php_mysql.dll as well.
a
What should I do now