msql_fieldname

msql_fieldname -- Get field name

Description

string msql_fieldname(int query_identifier, int field);

Msql_fieldname() returns the name of the specified field. query_identifier is the query identifier, and field is the field index. msql_fieldname($result, 2); will return the name of the second field in the result associated with the result identifier.