PHP Wysardry
PHP Manual

PHP documentation.



Home / PHP / Manual / ...



PHP Manual
Prev Next

pg_numrows

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

pg_numrows -- Returns the number of rows

Description

int pg_numrows (resource result)

pg_numrows() will return the number of rows in a PostgreSQL result resource. result is a query result resource returned by pg_exec(). This function will return -1 on error.

Note: Use pg_cmdtuples() to get number of rows affected by INSERT, UPDATE and DELETE query.

See also pg_numfields() and pg_cmdtuples().


Prev Manual Home Next
pg_numfields Up pg_options
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