Re: Difference of queries in PHP/mySQL?

From: Date: Sun, 18 Nov 2001 11:16:03 +0000
Subject: Re: Difference of queries in PHP/mySQL?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75029@lists.php.net to get a copy of this message
Check the return value of mysql_query(). It should either evaluate to false, or true. If false, then output some error messages using mysql_error() and mysql_errno(). -JasonGarber IonZoftDotCom At 01:29 PM 11/17/2001 -0500, Jeff Lewis wrote:
I am wondering if there are any difference between using PHP and using the command line for mySQL. Entering this at the comman line returns all the membergroups properly. When I use this in my PHP program, it doesn't continue past this line: $request = mysql_query("SELECT membergroup FROM membergroups WHERE 1 ORDER BY ID_GROUP"); Jeff -- 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


« previous php.general (#75029) next »