Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2]
| From: | Dan Rossi | Date: | Thu, 07 Apr 2005 00:01:55 +0000 |
| Subject: | Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2] | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18563@lists.php.net to get a copy of this message | ||
On 07/04/2005, at 9:47 AM, Justin Patrin wrote:
Noway, it proves the config setting for a db driver pointless if we also have to set it outside the dbdo ? I tried to see if setting the db_options after including the class worked but no still the same unknown config option database database is the dsn used for dataobject, it looks like it spits an error if there are unknown options for db_options therefore u cant use the same options as dataobject, man this is pure pain , is there a way to setup a nested array that will WORK without breaking anything ? so your array should look like DB_DataObjectWell, this is the way that DB_DO works. You're doing the above in your *calling* script before you use DB_DO, right?
...
..
. ....... MDB2 or DB nested array for db options here
........Well, perhaps you're setting up the array wrong. This should work I think... Nope