Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2]

From: Date: Thu, 07 Apr 2005 02:04:33 +0000
Subject: Re: [Fwd: Re: [PEAR] DataObject tweak ok with DB and MDB2]
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18576@lists.php.net to get a copy of this message
On 07/04/2005, at 11:31 AM, Justin Patrin wrote:
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.
Huh ? its already there in the code previouslly $db_options = PEAR::getStaticProperty('DB','options'); this was before requiring DB.php in the DB_DO. So what do you mean get the options from the first call ? Like this ?
$db_options = $options;
$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 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.pear.general (#18576) next »