Re: Re: All executed queries in DB (Common?)
| From: | Mark Wiesemann | Date: | Tue, 18 Apr 2006 09:57:10 +0000 |
| Subject: | Re: Re: All executed queries in DB (Common?) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23707@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
> to make it clearer .. i assume DB_Table lets you set options for DB and
> MDB2. it definately allows you to pass an instance to it (in which you
> can have the options set already).
Setting options is not possible because DB_Table expects a DB or MDB2
instance as first constructor param.
As Lukas said, instanciating MDB2 with the 'debug_handler' option and
passing this object to DB_Table's constructor should be the right way
here.
Regards,
Mark