RE: [PHP-DB] No MySQL-Link resource supplied

From: Date: Thu, 10 May 2001 13:06:23 +0000
Subject: RE: [PHP-DB] No MySQL-Link resource supplied
Groups: php.db 
Request: Send a blank email to php-db+get-9253@lists.php.net to get a copy of this message
the link will be the link you set up to connect to mysql, or the resource id as php refers to it (i think) you'll have something like $link=mysql_connect(.......) as below [example from manual] <?php $link = mysql_connect ("localhost", "username", "secret") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); ?> Steve > -----Original Message----- > From: Rankin, Randy [mailto:randy.rankin@smith-blair.com] > Sent: 10 May 2001 13:56 > To: php-db@lists.php.net > Subject: [PHP-DB] No MySQL-Link resource supplied > > > Is anyone familiar with this error and what causes it (or > better, how to fix > it). > Warning: No MySQL-Link resource supplied in > /usr/local/apache/htdocs/sales/login.php on line 46 > > Line 46 = mysql_close(); I cannot seem to find anything > regarding this > message in the MySQL or PHP manuals. > > Thanks in advance, > > Randy Rankin > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.db (#9253) next »