pg_num_fields() returns the number of fields (columns) in a PostgreSQL result resource.
Note: This function used to be called pg_numfields().
PostgreSQL query result resource, returned by pg_query(), pg_query_params() or pg_execute() (among others).
| Prev | PHP MYSQL Hosting | pg_num_rows |