cvs: phpdoc /en/reference/pgsql reference.xml

From: Date: Tue, 20 Sep 2005 10:38:53 +0000
Subject: cvs: phpdoc /en/reference/pgsql reference.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969370215@lists.php.net to get a copy of this message
betz Tue Sep 20 06:38:53 2005 EDT Modified files: /phpdoc/en/reference/pgsql reference.xml Log: example correction\n thanks to gonzales at mx1 dot linuxlouis dot net(user note) http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/reference.xml?r1=1.27&r2=1.28&ty=u Index: phpdoc/en/reference/pgsql/reference.xml diff -u phpdoc/en/reference/pgsql/reference.xml:1.27 phpdoc/en/reference/pgsql/reference.xml:1.28 --- phpdoc/en/reference/pgsql/reference.xml:1.27 Mon Sep 5 00:07:18 2005 +++ phpdoc/en/reference/pgsql/reference.xml Tue Sep 20 06:38:52 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.27 $ --> +<!-- $Revision: 1.28 $ --> <!-- Purpose: database.vendors --> <!-- Membership: bundled, external --> @@ -98,7 +98,7 @@ <![CDATA[ <?php // Connecting, selecting database -$db = pg_connect("host=localhost dbname=publishing user=www password=foo"); +$dbconn = pg_connect("host=localhost dbname=publishing user=www password=foo"); or die('Could not connect: ' . pg_last_error()); // Performing SQL query @@ -120,7 +120,7 @@ pg_free_result($result); // Closing connection -pg_close($link); +pg_close($dbconn); ?> ]]> </programlisting>

« previous php.doc (#969370215) next »