Hi!
Is there a way to get the result count from a mysql result set in PHP without submitting an additional COUNT query ?
Eg :
$res=mysql_query("SELECT * FROM sometable");
actually i get the result count with an additional query :
$resCount=mysql_query("SELECT COUNT(*) FROM sometable");
is there a way to avoid the second query ?
Thanks in advance
Hotkey