PHP Manual
Prev |  | Next

# pg_fieldname

(PHP 3 <= 3.0.18, 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_filednum().

Prev | Home | Next
pg_fieldisnull | Up | pg_fieldnum