Posted by Julie on 11/26/05 18:28
I am trying to do this:
$sql = "select * from names limit $startfrom,100";
$result=mysql_query( $sql )
I am trying to break up my query since the table is huge, so I increment
$startfrom until it gets to the end of the query.
But I am trying to test for $result returning false, but even with the limit
way out of range and passed the end, it always returns something
like Resource id #14. How can I test to see if the query is done:
Thanks
[Back to original message]
|