Mediu

Raport monitorizare impact asupra mediului. Trimestrul 3/2012

Trimestrul 3/2012


foreach (array_map("unserialize", array_unique(array_map("serialize", $Row))) as $value) {
$Tabel = "mediu" . $Setari->DB_mas;
$Camp ='ID, Trimestru, An, Descriere';
if(is_null($An)) {$Conditie = "WHERE Limba = :Asociere ORDER BY An DESC LIMIT 4";}
else {$Conditie = "WHERE Limba = :Asociere AND An = :An";}


$DB->query("SELECT $Camp FROM $Tabel $Conditie");
if(is_null($An)) {$DB->bind(":Asociere", $Limba);}
else {
$DB->bind(":Asociere", $Limba);
$DB->bind(":An", $An);
}

$Row = $DB->resultset();