Find total number of results in mySQL query with offset+limit

Take a look at SQL_CALC_FOUND_ROWS

Leave a Comment