Created
August 8, 2013 18:05
-
-
Save oswaldoacauan/6187053 to your computer and use it in GitHub Desktop.
Zend - Execute a string query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$stmt = $model->getAdapter()->query( | |
'SELECT * FROM bugs WHERE reported_by = ? AND bug_status = ?', | |
array('goofy', 'FIXED') | |
); | |
$rows = $stmt->fetchAll(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment