Connect remote DB server

From: Date: Mon, 11 Oct 2004 08:24:49 +0000
Subject: Connect remote DB server
Groups: php.db 
Request: Send a blank email to php-db+get-36717@lists.php.net to get a copy of this message
Hi all, im new to PHP.net. Im developing a program to retrieve data from a remote DB server running MySQL. The code written as if (!($dbLink = mysql_connect("some.remote.host", $dbUser, $dbPass))) { print ("mysql_connect failed!"); exit; } But, it doesn't work... and return me the error msg, Fatal error: Call to undefined function: mysql_connect() in /var/www/philately/hkpo-eng/request_information/test.php on line 6 I have granted permission for access, no firewall blocking... Anyone know why it happens? Thanks for reply! Regards, Laurence

« previous php.db (#36717) next »