mysql_num_rows

wxdqz

New Member
I am getting a "Warning: 0 is not a MySQL result index in..." error for

$result = mysql_num_rows($query);

where $query is a SELECT mysql query. $result is allowed to be zero, right? What is going on here? Thanks.
 
Back
Top