DB_DataObject factory class or create instance manually
| From: | Thomas Mammitzsch | Date: | Tue, 31 Aug 2004 17:10:41 +0000 |
| Subject: | DB_DataObject factory class or create instance manually | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-14346@lists.php.net to get a copy of this message | ||
hi everybody,
i want to insert data in a table. Now i'm a bit confused about the examples in the manual.
should i use the factory method of DB_DataObject to create an instance of my DataObject_table or should i create the instance manually as described in the manuals ->insert() function?
regards, Thomas