(mysql.info.gz) mysql_num_rows
Info Catalog
(mysql.info.gz) mysql_num_fields
(mysql.info.gz) C API functions
(mysql.info.gz) mysql_options
22.2.3.42 `mysql_num_rows()'
............................
`my_ulonglong mysql_num_rows(MYSQL_RES *result)'
Description
...........
Returns the number of rows in the result set.
The use of `mysql_num_rows()' depends on whether you use
`mysql_store_result()' or `mysql_use_result()' to return the result
set. If you use `mysql_store_result()', `mysql_num_rows()' may be
called immediately. If you use `mysql_use_result()',
`mysql_num_rows()' will not return the correct value until all the rows
in the result set have been retrieved.
Return Values
.............
The number of rows in the result set.
Errors
......
None.
Info Catalog
(mysql.info.gz) mysql_num_fields
(mysql.info.gz) C API functions
(mysql.info.gz) mysql_options
automatically generated byinfo2html