diff --git a/reference/pgsql/functions/pg-fetch-array.xml b/reference/pgsql/functions/pg-fetch-array.xml index b56cd2ce5a..95576f91d0 100644 --- a/reference/pgsql/functions/pg-fetch-array.xml +++ b/reference/pgsql/functions/pg-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -30,12 +30,6 @@ 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. @@ -92,6 +86,8 @@ echo $arr["author"] . " <- array\n"; From 4.1.0, row became optional. + Calling pg_fetch_array will increment + internal row counter by 1. diff --git a/reference/pgsql/functions/pg-fetch-object.xml b/reference/pgsql/functions/pg-fetch-object.xml index d422deedb1..22d3d63591 100644 --- a/reference/pgsql/functions/pg-fetch-object.xml +++ b/reference/pgsql/functions/pg-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -29,12 +29,6 @@ row is row (record) number to be retrieved. First row is 0. - - From PHP 4.2.0, row can be optional. - Calling pg_fetch_object will incremented - internal row counter, that is associated with the result, - counter by 1. - Speed-wise, the function is identical to pg_fetch_array, and almost as quick as @@ -97,6 +91,8 @@ pg_close ($db_conn); From 4.1.0, row became optional. + Calling pg_fetch_object will increment + internal row counter counter by 1. diff --git a/reference/pgsql/functions/pg-fetch-result.xml b/reference/pgsql/functions/pg-fetch-result.xml index 140c5dd7dd..202c6bbf6d 100644 --- a/reference/pgsql/functions/pg-fetch-result.xml +++ b/reference/pgsql/functions/pg-fetch-result.xml @@ -1,5 +1,5 @@ - + @@ -11,15 +11,15 @@ mixedpg_fetch_result resourceresult - introw_number + introw mixedfield pg_fetch_result returns values from a result resource returned by - pg_query. row_number + pg_query. row is integer. field is field name(string) - or field index (integer). The row_number + or field index (integer). The row and field specify what cell in the table of results to return. Row numbering starts from 0. Instead of naming the field, you may use the field index as an unquoted diff --git a/reference/pgsql/functions/pg-fetch-row.xml b/reference/pgsql/functions/pg-fetch-row.xml index bd0f5456cf..74b9134e73 100644 --- a/reference/pgsql/functions/pg-fetch-row.xml +++ b/reference/pgsql/functions/pg-fetch-row.xml @@ -1,5 +1,5 @@ - + @@ -20,12 +20,6 @@ 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. @@ -75,6 +69,8 @@ for ($i=0; $i < $num; $i++) { From 4.1.0, row became optional. + Calling pg_fetch_row will increment + internal row counter by 1.