pg_numrows

(PHP3 , PHP4 )

pg_numrows -- Returns the number of rows

Description

int pg_numrows (int result_id)

Pg_numrows() will return the number of rows in a PostgreSQL result. The argument is a valid result identifier returned by pg_exec(). This function will return -1 on error.


Hosted by Tonec Inc.