Name

mysql_field_tell( )

Synopsis

MYSQL_FIELD_OFFSET mysql_field_tell(MYSQL_RES *result)

This returns the value of the field pointer for the current row in use by a fetch function such as mysql_fetch_field( ). The field pointer starts at 0 for the first field when a row is retrieved and advances by one as each field is retrieved in order. See mysql_field_seek( ) for an example of this function.

Get MySQL in a Nutshell 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.