Re: note 7970 added to mysql_connect

From: Date: Tue, 22 Aug 2000 18:50:33 +0000
Subject: Re: note 7970 added to mysql_connect
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-2935@lists.php.net to get a copy of this message
Please do not enter support questions in the manual notes. Before posting a new note, please make sure to carefully read the instructions posted at http://www.php.net/manual/add-note.php You can send support questions to the general php list or another php list (carefully read http://www.php.net/support.php) Also check the mailing list archives - this is a commonly asked question - zak At 06:42 PM 8/22/00 +0000, j.hoque@ntlworld.com wrote:
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 -- PHP Notes Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-notes-unsubscribe@lists.php.net For additional commands, e-mail: php-notes-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.notes (#2935) next »