Re: PHP - mySQL query question

From: Date: Sun, 25 Jul 2004 17:46:54 +0000
Subject: Re: PHP - mySQL query question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191825@lists.php.net to get a copy of this message
single quote 'y' Jason On Sun, 25 Jul 2004 11:05:23 -0400, Karl-Heinz Schulz <karlheinz@khschulz.com> wrote: > I have a simple question (not for me). > > Why does this query does not work? > > $links_query = mysql_query("select id, inserted, title, information, > international from links WHERE international = y; order by inserted desc > LIMIT 0 , 30"); > > The information for the "international" fields are: > > Field: international > Type: char(1) > Null: No > Default:n > > The error is -> Warning: mysql_fetch_row(): supplied argument is not a valid > MySQL result resource in > > TIA > > Tracking #: BC19379918870340BDA57FD3E349C2D0B4B484BC > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#191825) next »