mysql_row_tell()

2023-07-26 02:37:19  Updated

You can call the mysql_row_tell() function to return the current position of the row cursor for a result set.

Syntax

MYSQL_ROW_OFFSET
mysql_row_tell(MYSQL_RES *result)

Return values

The current offset of the row cursor is returned.

Errors

None.

Return values

The current position of the cursor for the row returned by mysql_fetch_row() is returned. This value can be used as an argument of mysql_row_seek().

mysql_row_tell() is used only after mysql_store_result(), not after mysql_use_result().

Contact Us