msql_fieldname Get field name Description stringmsql_fieldname intquery_identifier intfield 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.