Home » Database » MDB2 » Bug #9167
Typing mistake in the documentation
Details
| Doc Bug #9167 | Typing mistake in the documentation |
|---|---|
| Submitted | 2006-10-26 09:25 UTC |
| From | aarjan at hotmail dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB2 |
| PHP Version | Irrelevant |
| OS | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-10-26 09:25 UTC] aarjan at hotmail dot com
Description:
------------
In the documentation about MDB2::bindColumn() (example 33-13) is probably a typing mistake: the second bindColumn() call (line 7) seems to be for the column 'name' but 'id' is used as first parameter.
see here: http://pear.php.net/manual/en/package.database.mdb2.intro-fetch.php
Expected result:
----------------
$res->bindColumn('name', $name, 'text');
Actual result:
--------------
$res->bindColumn('id', $name, 'text');