Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2]
| From: | Justin Patrin | Date: | Thu, 07 Apr 2005 01:31:25 +0000 |
| Subject: | Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2] | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18573@lists.php.net to get a copy of this message | ||
On Apr 6, 2005 5:37 PM, Dan Rossi <pear@electroteque.org> wrote:
> > I'm not sure you're understanding me here. You do that setting in the
> > same place you do the DB_DO config setting, hopefully in the same ini
> > file.
> >
> > Then DB_DO pulls the options and passes them in (if they exist) to the
> > DB connect function.
> >
> >
>
> I sure do and its not working, i tried putting the portability and
> persistant settings in the DataObject config, $db_options is still null
>
> $db_options = PEAR::getStaticProperty($options['db_driver'],'options');
What's this second one for? You should be getting the options from the
first call.
> $db_options = $options; //assign $db_options to data_object options
> array this is where it craps out if i take this out db_options is null
>
>
--
Justin Patrin