Re: no database is selected but it is there!

From: Date: Fri, 25 Aug 2000 21:16:30 +0000
Subject: Re: no database is selected but it is there!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-13739@lists.php.net to get a copy of this message
Date sent: Fri, 25 Aug 2000 12:59:03 -0600 (MDT) From: "Hans H. Anderson" <me@hansanderson.com> Subject: Re: [PHP] no database is selected but it is there! > Is $link a valid mysql connection identifier? in other words did you say before the line you gave: if ($link=mysql_connect(blah) or die ('cannot open database'); > On Fri, 25 Aug 2000, M. A. Ould-Beddi wrote: > > > > > for mysql_select_db("mydb",$link) I got the > > error message > > No Database is selected > > But mydb is there. > > What is the pb? > > > > ---- > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > Hans Anderson ~ me@hansanderson.com > PO Box 426, Missoula, MT 59806 | PHP, Search Engines, SQL > (800)397-9116 / (406)549-6524 | Databases, Flash Multimedia, > http://www.hansanderson.com | Killer Audio Production, > http://www.goofiness.com | Minty Fresh Breath. > > -------------------------------------------------------------------- Chris Hayes Droevendaalsestg. 35 6708 PB Wageningen the Netherlands http://www.xs4all.nl/~chayes/

« previous php.general (#13739) next »