Re: wrapper for a wrapper
| From: | Markus Fischer | Date: | Thu, 24 Jan 2002 05:03:53 +0000 |
| Subject: | Re: wrapper for a wrapper | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-709@lists.php.net to get a copy of this message | ||
On Thu, Jan 24, 2002 at 01:38:08AM +0100, Quinn Comendant wrote :
> I've created a Class with a Constructor that creates a new PEAR::DB
> object. I can call my Class' Methods and everything works fine. The
> problem is when I instantiate a new second Class to connect to a
> different database using a different $dsn. Both DB objects will access
> the second database, even when in PEAR::DB $this->connection is different
> for each object.
>
> I am completely bewildered. Any suggestions are most appreciated. Source
> code is available at:
> http://www.kilometerzero.org/pearwrapper.tar.gz
Unable to connect to your host right now, so I can't verify
this.
Are you connecting to the same database with same
username/password and just select a different database (btw,
which databasedriver? mysql?) ?
- Markus
--
Please always Cc to me when replying to me on the lists.