how can i easily implement queries in zend framework ?
A:
You can use the Zend Db Adapter object like so:
$sql = 'SELECT * FROM bugs WHERE bug_id = ?';
$result = $db->fetchAll($sql, 2);
Brian Fisher
2008-12-23 04:25:03