Description
string
pg_field_name ( resource result, int field_number)
pg_field_name() returns the name of the field
occupying the given field_number in the
given PostgreSQL result resource. Field
numbering starts from 0.
Note:
This function used to be called pg_fieldname().
See also pg_field_num().