mysql_row_tell — Returns position of result cursor

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()

Parameters

res

A result set identifier returned by mysql_store_result().

Return value

The row offset of the result cursor

[Note]

This function will not work if the result set was obtained by mysql_use_result().

See also

mysql_store_result(), mysql_row_seek()