This commit is contained in:
Michael RICOIS 2012-03-05 15:43:42 +00:00
parent 5a50253960
commit 18869a8e31

View File

@ -71,7 +71,7 @@ if ( !$db->query($sql) ) {
foreach($keys as $key) {
//Lecture
$sql = 'SELECT MIN('.$key.') AS min, MAX('.$key.') AS max FROM etablissements_act';
echo $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->fetchRow($sql);