Michael Gale wrote:
Right now I have a mysql select statement with the LIMIT option of 500.
Is there a way to find what the total number of selected results would
of been with out doing a mysql select first with out the limi and using
You could use SQL_CALC_FOUND_ROWS as it works somewhat differently, and probably
faster, than the approach you suggest above. This function was introduced in mysql
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php