pg_fieldname

(PHP 3, PHP 4 >= 4.0.0)

pg_fieldname -- Returns the name of a field

Description

string pg_fieldname ( resource result, int field_number)

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().