From 63bebf1e9b2a7b282e126f32f43bea64bc4d3242 Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Thu, 25 Apr 2002 00:44:14 +0000 Subject: [PATCH] row can be optional from 4.2.0. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@79843 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-fetch-array.xml | 8 +++++++- reference/pgsql/functions/pg-fetch-row.xml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/reference/pgsql/functions/pg-fetch-array.xml b/reference/pgsql/functions/pg-fetch-array.xml index 976440892b..b56cd2ce5a 100644 --- a/reference/pgsql/functions/pg-fetch-array.xml +++ b/reference/pgsql/functions/pg-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -30,6 +30,12 @@ row is row (record) number to be retrieved. First row is 0. + + From PHP 4.2.0, row can be optional. + Calling pg_fetch_array will incremented + internal row counter, that is associated with the result, + counter by 1. + result_type is optional parameter controls how return value is initialized. diff --git a/reference/pgsql/functions/pg-fetch-row.xml b/reference/pgsql/functions/pg-fetch-row.xml index 0788aca4c5..bd0f5456cf 100644 --- a/reference/pgsql/functions/pg-fetch-row.xml +++ b/reference/pgsql/functions/pg-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -20,6 +20,12 @@ returned as an array. Each result column is stored in an array offset, starting at offset 0. + + From PHP 4.2.0, row can be optional. + Calling pg_fetch_row will incremented + internal row counter, that is associated with the result, + counter by 1. + It returns an array that corresponds to the fetched row, or &false; if there are no more rows.