PHP3 Manual
PrevNext

pg_NumFields

pg_NumFields -- Returns the number of fields

Description

int pg_numfields(int result_id);

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.


PrevHomeNext
pg_lowriteUppg_NumRows