cvs: peardoc /en/package/database/mdb2 intro-fetch.xml
| From: | Lukas Smith | Date: | Sat, 07 Oct 2006 06:44:04 +0000 |
| Subject: | cvs: peardoc /en/package/database/mdb2 intro-fetch.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-8574@lists.php.net to get a copy of this message | ||
lsmith Sat Oct 7 06:44:04 2006 UTC
Modified files:
/peardoc/en/package/database/mdb2 intro-fetch.xml
Log:
- typo fix (Doc Bug #8881)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/database/mdb2/intro-fetch.xml?r1=1.22&r2=1.23&diff_format=u
Index: peardoc/en/package/database/mdb2/intro-fetch.xml
diff -u peardoc/en/package/database/mdb2/intro-fetch.xml:1.22
peardoc/en/package/database/mdb2/intro-fetch.xml:1.23
--- peardoc/en/package/database/mdb2/intro-fetch.xml:1.22 Tue Sep 26 08:49:44 2006
+++ peardoc/en/package/database/mdb2/intro-fetch.xml Sat Oct 7 06:44:04 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
<!--
@@ -444,7 +444,7 @@
// Once you have a valid MDB2 object named $mdb2...
$name = $address = null;
$res =& $mdb2->query('SELECT id, name, address FROM clients', array('id'
=> 'integer'));
-$res->bindColumn('id', $name);
+$res->bindColumn('id', $id);
// provide a type for the column not included in the query() call
$res->bindColumn('id', $name, 'text');
// but specifying a type is as always optional in MDB2