Hi,
I am trying to count the number of rows returned by my mysql query. I have tried:
count($row)
but this gives me the number of elements and not rows.
Any ideas?
Many thanks
Chris
Ever hear of mysql_num_rows()?
$result = mysql_query($query); $rows = mysql_num_rows($result); print $rows;
A ha. nice one. Thanks