Re: MySQL connect

From: Date: Mon, 04 Feb 2002 18:25:29 +0000
Subject: Re: MySQL connect
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-16502@lists.php.net to get a copy of this message
on 2/4/02 12:54 PM, J Leonard at gcarlyle2@attbi.com appended the following bits to my mbox: > > mysql_connect($db["host"],$db["user"],$db["password"],$db["database"]) > or The above function call only has three parameters. The database isn't specified in the connect call but selected later. Try: mysql_connect($db["host"],$db["user"],$db["password"]); mysql_select_db($db["database"]) Paul <?php while ($self != "asleep") { $sheep_count++; } ?>

« previous php.db (#16502) next »