mysql_row_seek — Positions row cursor

MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
                                MYSQL_ROW_OFFSET offset);

Positions the row cursor to an aribtrary row in a result set which was obtaimed by mysql_store_result().

Parameters

result

A result set identifier returned by mysql_store_result().

offset

Row offset. This value can be obtained either by mysql_row_seek() or mysql_row_tell()

Return value

The previous row offset.

[Note]

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

See also

mysql_store_result(), mysql_row_tell()