Syntax
int pg_NumFields(int result_id);
Popis
PrÃkaz jazyka PHP
pg_NumFields - Returns the number of fields
pg_NumFields() will return the number of fields (columns) in a PostgreSQL result. The argument is a valid result identifier returned by pg_Exec. This function will return -1 on error.