cvs: peardoc /en/core db.xml

From: Date: Wed, 19 Dec 2001 00:19:56 +0000
Subject: cvs: peardoc /en/core db.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1618@lists.php.net to get a copy of this message
cox Tue Dec 18 19:19:56 2001 EDT Modified files: /peardoc/en/core db.xml Log: typo and karma test Index: peardoc/en/core/db.xml diff -u peardoc/en/core/db.xml:1.5 peardoc/en/core/db.xml:1.6 --- peardoc/en/core/db.xml:1.5 Mon Dec 17 13:19:37 2001 +++ peardoc/en/core/db.xml Tue Dec 18 19:19:56 2001 @@ -1,5 +1,5 @@ <?xml encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <reference id="core.db"> <title>PEAR DB: a unified API for accessing SQL-databases</title> @@ -440,7 +440,7 @@ $all_client_names = array('Stig', 'Jon', 'Colin'); </para> <para> - The <function>get*()</function> family methods will do all the + The <function>get*</function> family methods will do all the dirty job for you, this is: launch the query, fetch the data and free the result. Please note that as all PEAR DB functions they will return a PEAR <classname>DB_error</classname> object @@ -682,7 +682,7 @@ array(3, 'three', 'tre'), array(4, 'four', 'fire')); $sth = $dbh->prepare("INSERT INTO numbers VALUES(?,?,?)"); -$dbh->execute($sth, $alldata); +$dbh->executeMultiple($sth, $alldata); } ?> ]]>

« previous php.pear.cvs (#1618) next »