Re: why doesn't my code work? :(

From: Date: Wed, 19 Jul 2000 12:24:43 +0000
Subject: Re: why doesn't my code work? :(
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7252@lists.php.net to get a copy of this message
At 05:24 AM 7/19/00 -0700, you wrote: > $result = mysql_db_query("$username", $query); mysql_db_query takes the name of the database, you're supposed to perform the query in, as the first parameter. Since you've already selected which database to use I assume this is what's wrong. Use mysql_query instead.

« previous php.general (#7252) next »