PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » MDB2 » Bug #9167

Typing mistake in the documentation

Details

Doc Bug #9167Typing mistake in the documentation
Submitted2006-10-26 09:25 UTC
Fromaarjan at hotmail dot com
Assignedlsmith
StatusClosed
PackageMDB2
PHP VersionIrrelevant
OSIrrelevant
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');