tags:

views:

111

answers:

2

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
+2  A: 

Check this document:

Zend Framework Database Quick Start (PDF)

CMS