note 7970 deleted from mysql_connect by zak

From: Date: Tue, 22 Aug 2000 18:46:00 +0000
Subject: note 7970 deleted from mysql_connect by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-2934@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

« previous php.notes (#2934) next »