Re: Re: All executed queries in DB (Common?)

From: Date: Tue, 18 Apr 2006 08:56:10 +0000
Subject: Re: Re: All executed queries in DB (Common?)
References: 1 2 3 4 5 6 7  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23705@lists.php.net to get a copy of this message
Lukas Smith wrote:
Charlie van de Kerkhof wrote:
In the example they exectued there own written queries, so after each query the called the debug method and added the query. But I don;t build it myself, due to using DB_Table.
that does not matter at all .. you need to do is define the "debug_handler" option to a callback function/method and set debug to some value that evaluates to true.
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). regards, Lukas

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