(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)
string pg_fieldname (resource result, int field_number)
string pg_fieldname
pg_fieldname() returns the name of the field occupying the given field_number in the given PostgreSQL result resource. Field numbering starts from 0.
See also pg_fieldnum().