From f20cf6d294de8df180663bc0004e8fcfc7d9ee90 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Wed, 16 Jul 2003 15:05:34 +0000 Subject: [PATCH] some literals should be parameters git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135218 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pgsql/functions/pg-close.xml | 4 ++-- reference/pgsql/functions/pg-delete.xml | 6 +++--- reference/pgsql/functions/pg-fetch-all.xml | 4 ++-- reference/pgsql/functions/pg-insert.xml | 17 +++++++++-------- reference/pgsql/functions/pg-send-query.xml | 8 ++++---- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/reference/pgsql/functions/pg-close.xml b/reference/pgsql/functions/pg-close.xml index b9864b0515..e6dafd830a 100644 --- a/reference/pgsql/functions/pg-close.xml +++ b/reference/pgsql/functions/pg-close.xml @@ -1,10 +1,10 @@ - + pg_close - Close a PostgreSQL connection + Closes a PostgreSQL connection Description diff --git a/reference/pgsql/functions/pg-delete.xml b/reference/pgsql/functions/pg-delete.xml index 87c6a55116..e6b9e9c8de 100644 --- a/reference/pgsql/functions/pg-delete.xml +++ b/reference/pgsql/functions/pg-delete.xml @@ -1,11 +1,11 @@ - + pg_delete - Delete records. + Deletes records. @@ -26,7 +26,7 @@ - pg_delete + <function>pg_delete</function> example - + pg_fetch_all - Fetch all rows from a result as an array + Fetches all rows from a result as an array Description diff --git a/reference/pgsql/functions/pg-insert.xml b/reference/pgsql/functions/pg-insert.xml index e42f2370a8..cfbe6280ef 100644 --- a/reference/pgsql/functions/pg-insert.xml +++ b/reference/pgsql/functions/pg-insert.xml @@ -1,5 +1,5 @@ - + @@ -18,14 +18,15 @@ intoptions - pg_insert inserts the values of assoc_array - into the table specified by table_name. - table_name must at least have as many columns as assoc_array - has elements. The fieldnames as well as the fieldvalues in table_name - must match the indices and values of assoc_array. + pg_insert inserts the values of assoc_array + into the table specified by table_name. + table_name must at least have as many columns as + assoc_array has elements. The fieldnames as + well as the fieldvalues in table_name + must match the indices and values of assoc_array. &return.success; - If options is specified, pg_insert is applied to - assoc_array with specified option. + If options is specified, pg_insert + is applied to assoc_array with specified option. diff --git a/reference/pgsql/functions/pg-send-query.xml b/reference/pgsql/functions/pg-send-query.xml index 34732c5434..18eefba354 100644 --- a/reference/pgsql/functions/pg-send-query.xml +++ b/reference/pgsql/functions/pg-send-query.xml @@ -1,11 +1,11 @@ - + pg_send_query - Send asynchronous query + Sends asynchronous query @@ -49,12 +49,12 @@ } $res1 = pg_get_result($dbconn); - echo "First call to pg_get_result : $res1\n"; + echo "First call to pg_get_result(): $res1\n"; $rows1 = pg_num_rows($res1); echo "$res1 has $rows1 records\n\n"; $res2 = pg_get_result($dbconn); - echo "second call to pg_get_result : $res2\n"; + echo "second call to pg_get_result(): $res2\n"; $rows2 = pg_num_rows($res2); echo "$res2 has $rows2 records\n"; ?>