mysql_row_tell − Returns row offset of a result cursor
#include <mysql.h> MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res);
Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor by calling mysql_row_seek(3).
• |
res − a result set identifier returned by mysql_store_result(3). |
• |
This function will not work if the result set was obtained by mysql_use_result(3). |
• |
mysql_store_result(3) |
|||
• |
mysql_row_seek(3) |