Zend_DB bind variables problem
Posted: Thu May 31, 2007 9:21 am
Hi,
I've the following situation where in I'm sending data through bind variables to the MySQL using PDO objects of Zend Framework All I'm doing is I'm building a sub-query by user clicks on the backend and sending it to the main query as a bind parameter variable. A typical variable would be of the following kind
The query returns a null object as a result which is not right answer.
What am I doing wrong?
Is there a someway, where I can print the whole query that is being run on the backend in Zend framework I'm using Zend Framework 0.4 version
Any help is greatly appreciated.
Thanks
Dude
I've the following situation where in I'm sending data through bind variables to the MySQL using PDO objects of Zend Framework All I'm doing is I'm building a sub-query by user clicks on the backend and sending it to the main query as a bind parameter variable. A typical variable would be of the following kind
Code: Select all
[geneated_sql]=>"SELECT * FROM bla where as='asa''"What am I doing wrong?
Is there a someway, where I can print the whole query that is being run on the backend in Zend framework I'm using Zend Framework 0.4 version
Any help is greatly appreciated.
Thanks
Dude