Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #3184 Typo in sample code in PEAR::DB_DataObject
Submitted: 2005-01-13 07:24 UTC
From: larry at garfieldtech dot com Assigned: alan_k
Status: Closed Package: Documentation
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-01-13 07:24 UTC] larry at garfieldtech dot com
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).

Comments

 [2005-01-14 07:55 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!