Commit 5dde170a authored by Anatole Rakotoson's avatar Anatole Rakotoson
Browse files

sommom

parent bfdf9385
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
$paramsData = [ $paramsData = [
"frequenceOb" => [ "frequenceOb" => [
"Fréquent" => "Fréquent", "frequent" => "Fréquent",
"Occasionnel" => "Occasionnel", "occasionnel" => "Occasionnel",
"Rare" => "Rare" "rare" => "Rare"
], ],
"statut" => [ "statut" => [
"Espèce disparue (EX)" => "Espèce disparue (EX)", "Espèce disparue (EX)" => "Espèce disparue (EX)",
...@@ -234,15 +234,19 @@ ...@@ -234,15 +234,19 @@
echo implode(",", $a[$i]); echo implode(",", $a[$i]);
} }
} }
else { else {
if($a[$i] == "true"){ if($a[$i] == "true"){
echo "oui"; echo "oui";
}else if($a[$i] == "false"){ }else if($a[$i] == "false"){
echo "non"; echo "non";
} else if($i == "frequenceOb"){
echo $paramsData[$i][$a[$i]];
} }
else { else {
echo $a[$i]; echo $a[$i];
} }
}
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment