View Single Post
Old 04-10-2009, 11:19 PM   #6 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by tony View Post
like allworknoplay said, there is no query being made, so mysql_fetch_array() can't get the results from the array.

another thing, but I am not sure in this, but if you are accessing the the results with the names of the filds, I think you need to use the mysql_fetch_assoc() instead. But i am not sure about that one.
You can use either. But "assoc" is better since you're just returning the named fields.

If he's looking for the key/value pair, then yeah he would use array...
allworknoplay is offline  
Reply With Quote