On Friday 19 July 2002 14:08, David Robley wrote:

> You might consider running the first query just to get a COUNT(), rather
> than extracting all the resulting rows and using mysql_numrows to
> determine how many were returned

Am I missing something? If you do a COUNT() in the query then, in general, 
it'll only return 1 row. You then use this row to determine the result of the 
COUNT(). IE using mysql_numrows() on this result is inappropriate.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Keep up the good work!  But please don't ask me to help.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to