MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES *result)
20.4.44.1 Description
Returns the current position of the row cursor for the last
mysql_fetch_row(). This value can be used as an argument to
mysql_row_seek().
You should use mysql_row_tell() only after mysql_store_result(),
not after mysql_use_result().
20.4.44.2 Return values
The current offset of the row cursor.
20.4.44.3 Errors
None.