Description
int
pg_field_num ( resource result, string field_name)
pg_field_num() will return the number of the
column (field) slot that corresponds to the
field_name in the given PostgreSQL
result resource_ Field numbering starts
at 0_ This function will return _1 on error_
See the example given at the pg_field_name() page_
Nota:
This function used to be called pg_fieldnum()_
See also pg_field_name()_