Forum Moderators: coopster
But when i trying to connect to server by code :
<?
mysql_connect("localhost", "root", "mypassw");
?>
--> my IE alert me the error as follow:
"fatal error: undefined function mysql_connect() in c:\inetpub\wwwroot\test.php on line 2 ".
So i wonder why PHP_Server not understand the simple function mysql_connect()?
help me fix the error, thanks alot.
[edited by: ngocdq at 3:35 am (utc) on Nov. 24, 2004]
Windows users will need to enablephp_mysql.dllinside ofphp.iniand either copylibmysql.dllinto the Windows system directory, or make it available to thePATH.
MySQL Functions [php.net]