Re: DB_NestedSet DB Reference
| From: | Justin Patrin | Date: | Wed, 28 Jul 2004 16:46:52 +0000 |
| Subject: | Re: DB_NestedSet DB Reference | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13895@lists.php.net to get a copy of this message | ||
On Wed, 28 Jul 2004 13:03:20 +0200, Andre Gemünd <listen@scroogie.de> wrote:
> Hi,
> is there a way you can pass an already existing DB-reference to
> DB_NestedSet?
Sorry, don't know.
>
> By the way, why doesn't DB have a singleton method, like LiveUser, where
> it automatically checks wether there already is an instance?
>
> Please tell me if i missed something
>
Because you can have multiple DB connections in one script. I
routinely use this for connections to mysql and oracle or mysql on two
boxes.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--