Bug #3184 [NEW]: Typo in sample code in PEAR::DB_DataObject

From: Date: Thu, 13 Jan 2005 07:24:00 +0000
Subject: Bug #3184 [NEW]: Typo in sample code in PEAR::DB_DataObject
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5420@lists.php.net to get a copy of this message
From: larry at garfieldtech dot com Operating system: Linux PHP version: Irrelevant Package: Documentation Bug Type: Bug Bug description: Typo in sample code in PEAR::DB_DataObject Description: ------------ On page: http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.limit.php the sample code at the bottom of the page includes this block: while ($person->fetch()) { echo "$person->id} {$person->name}<BR>"; } That is a typo. The line should read: echo "{$person->id} {$person->name}<BR>"; (Note the extra { before $person). -- Edit bug report at http://pear.php.net/bugs/bug.php?id=3184&edit=1 --

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