Link to home
Start Free TrialLog in
Avatar of mhopkins9901
mhopkins9901Flag for United States of America

asked on

How to see query created by Zend DB Adapter

For debugging purposes, how do you print the query Zend_DB makes for you. I did not find it in the docs.
For example if I get an sql error when running this code below. how can I dump the statement it is using to help see what I hosed.

$data = array('FNAME' => 'test name',);
$where = "ID = '14'" ;
$n = $db->update("tablename", $data, $where);

ASKER CERTIFIED SOLUTION
Avatar of tkcin
tkcin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mhopkins9901

ASKER

just what i was looking for