Zählen Sie Zeilen MySQL Limit PHP
SELECT SQL_CALC_FOUND_ROWS id, title FROM foo LIMIT 5;
Puzzled Puffin
SELECT SQL_CALC_FOUND_ROWS id, title FROM foo LIMIT 5;
SELECT FOUND_ROWS();