zend framework - how to create a Zend_Db_Table_Select through a string query php -


i have been taking look, if there way create zend_db_table_select or zend_db_select instance literal sql query. mean, i've got complex query , want through query create object of one. have been reading docs classes , didn't find anything. guess not possible.

do know it?

thank much.

i think best bet write in model:

public function customquery ($table, $id) {     return $this         ->getdefaultadapter()         ->query("select * ? id = ?",             array($table,$id)         )         ->fetchall()     ; } 

and 1 more link useful you


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -