The pages for mysql_fetch_assoc(), mysql_fetch_object(), and mysql_fetch_array() all have sample scripts for you to look at. Want the best answers? Ask the best questions:
use a foreach function
like
foreach ($result as $var)
{
print "$var<br>";
}
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.