[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] [PEAR-BUG] Bug #2626 [NEW]: missing line and typo in db_object example
From:       "bram dot daams at fcdonders dot ru dot nl" <pear-doc () lists ! php ! net>
Date:       2004-10-26 19:28:34
Message-ID: bug-2626 () pear ! php ! net
[Download RAW message or body]

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
-- 

-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic