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().
| Anterior | Inicio | Siguiente |
| pg_meta_data |
Hosting Argentina $7/mes | pg_num_rows |