Thanks a lot . But I use another solution
$select = 'select * from material where ' . $choice . '=' . $material;
$this->view->showMaterial = $searchDatabase->fetchAll($sql);
Again I put your recommendation in my notes. Thanks
--
Erdal YAZICIOGLU
System & Network Engineer
Page Europa S.R.L - General Dynamics
www.pageuropa.it
Office - Rome : +39 0650395292
Mobile -Rome : +39 3490787196
Mobile -Istanbul: +90 536 3447989
$select = 'select * from material where ' . $choice . '=' . $material;
$this->view->showMaterial = $searchDatabase->fetchAll($sql);
Again I put your recommendation in my notes. Thanks
2009/8/1 Simone Cosci <s.cosci@nextidea.it>
Erdal YAZICIOGLU ha scritto:$searchDatabase->getAdapter() should return the Zend_Db_Adapter
Thanks for the help Simone.
But when I run it, it does not recognize the method quoteInto. I am using Zend_Db_Table.
and it can quote(), quoteInto() ...
http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.quoting.quote-into
try to debug the return:
Zend_Debug::dump( $searchDatabase->getAdapter() );
exit;
--
fsockopen
ZF n00b
--
Erdal YAZICIOGLU
System & Network Engineer
Page Europa S.R.L - General Dynamics
www.pageuropa.it
Office - Rome : +39 0650395292
Mobile -Rome : +39 3490787196
Mobile -Istanbul: +90 536 3447989
没有评论:
发表评论