Re: Difference of queries in PHP/mySQL?
| From: | Jack Dempsey | Date: | Sat, 17 Nov 2001 18:50:49 +0000 |
| Subject: | Re: Difference of queries in PHP/mySQL? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74996@lists.php.net to get a copy of this message | ||
are you actually doing anything with $request? that just gets a mysql result
back in a variable, you then have to extract the data from it...
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