note 7970 added to mysql_connect
| From: | j dot hoque at ntlworld dot com | Date: | Tue, 22 Aug 2000 18:42:24 +0000 |
| Subject: | note 7970 added to mysql_connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2933@lists.php.net to get a copy of this message | ||
I get the following error
Fatal error: Call to unsupported or undefined function mysql_connect() in common.php on line 8
This is in the following code
$connection = mysql_connect("localhost","Jabal Hoque","")
or die ("connection to server failed");
$db = mysql_select_db("shop", $connection)
or die ("could not select db");
I am running apache on win98 with mysql and php3 this problem has me completely stumped and i have
tried everything possible it seems from modifying bits in the php3.ini file to changing bits in the
httpd file etc.
Apache is fine, i get the test page, PHP semms okay I can get the hello world to echo, MySQL semms
ok too i can query, inser delete etc so whats the problem.
Somebody please help I'm desperate
jab
http://www.php.net/manual/function.mysql-connect.php