04-10-2009, 11:19 PM
|
#6 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Quote:
Originally Posted by tony
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...
|
|
|
|