pg_field_name

Example

 string pg_field_name ( resource $result , int $field_number ) 

Description

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

Return Values

The field name, or FALSE on error.