pg_numfields

(PHP 3, PHP 4 )

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.

See also pg_numrows() and pg_cmdtuples().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека