PHP » GoLang |
login |
register |
about
|
pg_num_rows(PHP 4 >= 4.2.0, PHP 5, PHP 7) pg_num_rows — Returns the number of rows in a result Description
int pg_num_rows
( resource
$result
)pg_num_rows() will return the number of rows in a PostgreSQL result resource.
Parameters
Return ValuesThe number of rows in the result. On error, -1 is returned. Examples
Example #1 pg_num_rows() example
<?php The above example will output: 1 row(s) returned. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|