update : 2015.11.03
php.shukuma.com검색:
|
pg_get_result(PHP 4 >= 4.2.0, PHP 5) pg_get_result — Get asynchronous query result 설명
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. 인수
반환값
The result resource, or 예제
Example #1 pg_get_result() example
<?php 위 예제의 출력: 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 |