PHP Wysardry
PHP Manual

PHP documentation.



Home / PHP / Manual / ...



PHP Manual
Prev Next

pg_numfields

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

pg_numfields -- Returns the number of fields

Description

int pg_numfields (resource result)

pg_numfields() returns the number of fields (columns) in a PostgreSQL result. The argument is a result resource returned by pg_exec(). This function will return -1 on error.

See also pg_numrows() and pg_cmdtuples().


Prev Manual Home Next
pg_lowrite Up pg_numrows
Site Menu

Amazon.ca
Amazon.com
Amazon.co.uk



Most recently updated on 11 May, 2003

Home / PHP / Manual / ...



Please feel free to contact us with any comments or suggestions
PHP Manual
PHP Wysardry

This site is hosted by Spaceports