FOUND_ROWS « Information Functions « MySQL Tutorial






20.9.FOUND_ROWS
20.9.1.FOUND_ROWS()
20.9.2.In the absence of the SQL_CALC_FOUND_ROWS option, FOUND_ROWS() returns the number of rows in the result set
20.9.3.Save returning value from FOUND_ROWS() to a variable