Name

mysql_row_tell

Synopsis

unsigned int mysql_row_tell(MYSQL_RES *result)

Returns the value of the cursor used as mysql_fetch_row reads the rows of a result set. The return value of this function can used with mysql_row_seek to jump to a specific row in the result set.

Example

saved_pos = mysql_row_tell(results);
/* I can now jump back to this row at any time */

Get MySQL and mSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.