PHP » GoLang |
login |
register |
about
|
pg_get_result(PHP 4 >= 4.2.0, PHP 5, PHP 7) pg_get_result — Get asynchronous query result Description
resource pg_get_result
([ resource
$connection
] )pg_get_result() gets the result resource from an asynchronous query executed by pg_send_query(), pg_send_query_params() or pg_send_execute(). pg_send_query() and the other asynchronous query functions can send multiple queries to a PostgreSQL server and pg_get_result() is used to get each query's results, one by one. Parameters
Return Values
The result resource, or Examples
Example #1 pg_get_result() example
<?php The above example will output: First call to pg_get_result(): Resource id #3 Resource id #3 has 3 records Second call to pg_get_result(): Resource id #4 Resource id #4 has 1 records |
more
Recently updated
more
Most requested
more
Last requests
|