Description
int
pg_num_rows ( resource result)
pg_num_rows() will return the number of rows in
a PostgreSQL result resource_
result is a query result resource returned
by pg_query()_ This function will return _1 on
error_
Nota:
Use pg_affected_rows() to get number of rows
affected by INSERT, UPDATE and DELETE query_
Nota:
This function used to be called pg_numrows()_
See also pg_num_fields() and
pg_affected_rows()_