All pages
Powered by GitBook
1 of 1

Loading...

mysql_fetch_field

Syntax

  • result - a result set identifier returned by mysql_store_result() or mysql_use_result().

Description

Returns the definition of one column of a result set as a pointer to a MYSQL_FIELD structure. Call this function repeatedly to retrieve information about all columns in the result set.

The field order will be reset if you execute a new SELECT query.

In case only information for a specific field is required the field can be selected by using the function or obtained by function.

See also

MYSQL_FIELD * mysql_fetch_field(MYSQL_RES * result);
mysql_use_result()
mysql_field_seek()
mysql_fetch_field_direct()
mysql_field_seek()
mysql_field_tell()
mysql_fetch_field_direct()
mysql_store_result()