I wrote my own extended DBA classes pack for Zend_Db/Zend_Db_Table_Abstract compatibility. So with this pack you can use simple queries :
and use Zend_Db_Table_Abstract without any settings :PHP Code:$db = new Factory_Db_Driver("/configfile.xml");
$sql = 'SELECT * FROM news WHERE article_id = ?';
$result = $db->fetchAll($sql, 2);
http://files.codenetwork.ru/Factory.rarPHP Code:$db = new Factory_Db_Driver("/configfile.xml");
$news = $db->getTable('news'); //Zend_Db_Table_Abstract object returns in variable
while($news->fetchAll() as $val)
{
....
}
----------------
Listening to: Depeche Mode - Personal Jesus



Reply With Quote![[PHP] DBA with Zend_Db/Zend_Db_Table_Abstract](http://ragezone.com/hyper728.png)

