cvs: peardoc /en/package/database/mdb2 intro-fetch.xml

From: Date: Thu, 26 Oct 2006 09:32:45 +0000
Subject: cvs: peardoc /en/package/database/mdb2 intro-fetch.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8660@lists.php.net to get a copy of this message
lsmith Thu Oct 26 09:32:45 2006 UTC Modified files: /peardoc/en/package/database/mdb2 intro-fetch.xml Log: - typo fix (Doc Bug #9167) http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/mdb2/intro-fetch.xml?r1=1.24&r2=1.25&diff_format=u Index: peardoc/en/package/database/mdb2/intro-fetch.xml diff -u peardoc/en/package/database/mdb2/intro-fetch.xml:1.24 peardoc/en/package/database/mdb2/intro-fetch.xml:1.25 --- peardoc/en/package/database/mdb2/intro-fetch.xml:1.24 Mon Oct 23 21:11:04 2006 +++ peardoc/en/package/database/mdb2/intro-fetch.xml Thu Oct 26 09:32:44 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.24 $ --> +<!-- $Revision: 1.25 $ --> <!-- @@ -446,7 +446,7 @@ $res =& $mdb2->query('SELECT id, name, address FROM clients', array('id' => 'integer')); $res->bindColumn('id', $id); // provide a type for the column not included in the query() call -$res->bindColumn('id', $name, 'text'); +$res->bindColumn('name', $name, 'text'); // but specifying a type is as always optional in MDB2 $res->bindColumn('address', $address); while ($res->fetchRow()) {

« previous php.pear.doc (#8660) next »