View Single Post
Old 2003-09-14, 12:21 PM   #16
RawAlex
Took the hint.
 
Join Date: Mar 2003
Posts: 5,597
Send a message via AIM to RawAlex
Venturi, in the case of this code, I don't think the error is a "no result" rather too many results. fetch_array doesn't like working much when there are multiple rows in the result (need to fetch_row).

Just doing:

$nums = mysql_num_rows($result);
print $nums;

will show how many rows are selected in the database. That would go a long way to explain what is happening after.

Alex
RawAlex is offline   Reply With Quote