Test fetch

This commit is contained in:
Michael RICOIS 2012-03-05 15:43:11 +00:00
parent 7612d0e17c
commit 5a50253960

View File

@ -74,7 +74,7 @@ foreach($keys as $key) {
$sql = 'SELECT MIN('.$key.') AS min, MAX('.$key.') AS max FROM etablissements_act';
//$dbMetier->setFetchMode(Zend_Db::FETCH_ASSOC);
$stmt = $dbMetier->query($sql);
$result = $stmt->fetchAll($sql);
$result = $stmt->fetchRow($sql);
print_r($result);
exit;