Description
int
pg_num_fields ( resource result)
pg_num_fields() returns the number of fields
(columns) in a PostgreSQL result_ The
argument is a result resource returned by
pg_query()_ This function will return _1 on
error_
Nota:
This function used to be called pg_numfields()_
See also pg_num_rows() and
pg_affected_rows()_