View Single Post
Old 2003-09-12, 03:37 PM   #11
RawAlex
Took the hint.
 
Join Date: Mar 2003
Posts: 5,597
Send a message via AIM to RawAlex
You should always check after a query to make sure you have actual results, by:

$num_rows = mysql_num_rows ($result);

You might have an issue where you are getting more than one row returned, and as a result, the fetch_array will fail because you need to fetch_row instead.

Alex
RawAlex is offline   Reply With Quote