From 9b7ade58f4ec6959cd33fd88c4ee9cc4b713ba5a Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Mon, 10 Dec 2001 17:34:56 +0000 Subject: [PATCH] Get rid of endwhile git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64471 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pgsql.xml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/functions/pgsql.xml b/functions/pgsql.xml index b7c46adeeb..6876fb1864 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -593,29 +593,32 @@ endif; $qu = pg_exec ($db_conn, "SELECT * FROM verlag ORDER BY autor"); $row = 0; // postgres needs a row counter other dbs might not -while ($data = pg_fetch_object ($qu, $row)): +while ($data = pg_fetch_object ($qu, $row)) { echo $data->autor." ("; echo $data->jahr ."): "; echo $data->titel."
"; $row++; -endwhile; ?> - -

+
+$item[0]."\n";
     endwhile;
     $row++;
-endwhile;
-echo "----------\n"; ?>
-
+
+