mysql_num_rows
Syntax
my_ulonglong mysql_num_rows(MYSQL_RES * );
MYSQL_RES
- a result set identifier returned by mysql_store_result() or mysql_use_result().
Description
Returns number of rows in a result set.
The behaviour of mysql_num_rows() depends on whether buffered or unbuffered result sets are being used. For unbuffered result sets, mysql_num_rows() will not return the correct number of rows until all the rows in the result have been retrieved.
See also
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.