RE: [PEAR] MDB debug
| From: | Lukas Smith | Date: | Mon, 05 May 2003 09:19:17 +0000 |
| Subject: | RE: [PEAR] MDB debug | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5228@lists.php.net to get a copy of this message | ||
> From: Jeroen Houben [mailto:jeroen@terena.nl]
> Sent: Monday, May 05, 2003 11:17 AM
> To: pear-general@lists.php.net
> Subject: [PEAR] MDB debug
>
> Hi,
>
> Is there any way to make MDB show the queries it's sending to the
> database? I'm having some trouble debugging executeMultiple calls.
Yes there is.
Have a look at MDB_test.php in the tests directory. Towards the bottom I
show a sample use of the debugging facilities of MDB.
You can even extend them by defining your own customer debug handler.
Regards,
Lukas