MySQL Forums
Forum List  »  Newbie

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
September 05, 2004 05:07PM
September 06, 2004 02:26AM
Re: Impossible SELECT answers
September 06, 2004 12:30PM
September 07, 2004 02:17AM
September 07, 2004 08:46AM
September 07, 2004 03:19AM
September 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.