You are here : Cmysql/mysql.hmysql_row_tell

mysql_row_tell() - mysql/mysql.h

 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().mysql_fetch_row()mysql_fetch_row()mysql_row_seek()mysql_row_seek()Use mysql_row_tell() only after
        mysql_store_result(), not after
        mysql_use_result().mysql_row_tell()mysql_row_tell()mysql_store_result()mysql_store_result()mysql_use_result()mysql_use_result()


Syntax

MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES
        *result)


Example

 


Output / Return Value

 The current offset of the row cursor.


Limitations


Alternatives / See Also


Reference