I have installed PHP & MySQL on a windows server 2003.
I'm trying to connect to a mysql database in a script as following :
$dbhost = 'localhost';
$dbusername = 'root';
$dbpasswd = '1234';
$connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd") ;
But the browser shows this error:
Fatal error: Call to undefined function mysql_pconnect() in D:\Web\wwwroot\lord\requires\db.php on line 10
(line 10 is : $connection=mysql_pconnect........)
mysql version : 5.1
php version : 5.2.1
any kind of help to solve this problem is much appreciated.