Skip navigation links

MySQL Forums :: Newbie :: Impossible SELECT answers


Advanced Search

Re: Impossible SELECT answers
Posted by: stefan loeffler ()
Date: September 06, 2004 12:30PM

if you do... as i expect... something like $blah=mysql_query("SELECT...");
and then echo $blah... then this result (resource id) is correct... if you crosscheck with php.net / mysql_query...

to show you the data, if you expect more than one dataset try :

while ($xyz=mysql_fetch_array($blah)) {

print_r($xyz);

}

then you will get the data you read from the db...

stefan


Options: ReplyQuote


Subject Written By Posted
Impossible SELECT answers John Hurleston 09/05/2004 05:07PM
Re: Impossible SELECT answers Nick Roper 09/06/2004 02:26AM
Re: Impossible SELECT answers stefan loeffler 09/06/2004 12:30PM
Re: Impossible SELECT answers John Hurleston 09/07/2004 02:17AM
Re: Impossible SELECT answers stefan loeffler 09/07/2004 08:46AM
Re: Impossible SELECT answers John Hurleston 09/07/2004 03:19AM
Re: Impossible SELECT answers John Hurleston 09/07/2004 06:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.