How to print exact sql query in zend framework ?
Answer / Girish Kumar Arya
To print the exact SQL query executed by Zend Framework, you can use the `getLastQuery()` method of the database adapter and the `quoteEscapeString()` method for escaping special characters. For example: `echo $db->getDriver()->getConnection()->getLastQuery();`
| Is This Answer Correct ? | 0 Yes | 0 No |
What is zend framework 2?
What is the use of bootstrap in zend framework?
How to render view file from controller in zend framework?
How we can do multiple column ordering in zend framework?
How to include css in zend framework?
How to write a program to show the function of action helper?
Explain filters in zend framework with examples?
How do I extend the zend navigation menu view helper?
Difference between zend_registry and zend_session?
how do you protect your site from sql injection in zend when using select query?
Tell me what are the steps kept in mind while designing the zend_form?
What is use of zend front controller?