Bug #2626 [NEW]: missing line and typo in db_object example
| From: | bram dot daams at fcdonders dot ru dot nl | Date: | Tue, 26 Oct 2004 19:28:34 +0000 |
| Subject: | Bug #2626 [NEW]: missing line and typo in db_object example | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5044@lists.php.net to get a copy of this message | ||
From: bram dot daams at fcdonders dot ru dot nl
Operating system:
PHP version: Irrelevant
Package: Documentation
Bug Type: Bug
Bug description: missing line and typo in db_object example
Description:
------------
On
http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.php
there is a typo in code example 26-3:
// now get the person and display the age.
$person ->name = "John";
should be:
// now get the person and display the age.
$person = new MyPerson;
$person->name = "John";
(note the space)
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=2626&edit=1
--