| ||||||||||
pg_numrowsDescriptionint 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.
See also pg_numfields() and pg_cmdtuples(). | ||||||||||
|