oubli d'un code de debug, lien en bas de page

This commit is contained in:
Fedaya 2025-03-03 23:04:06 +01:00
parent bcc9397b7b
commit 646b841634

View File

@ -17,7 +17,6 @@ if ($last_check ===null || date_add(new DateTime($last_check), DateInterval::cre
if ($ville == array()) { if ($ville == array()) {
$base->query("INSERT INTO Villes VALUES (".$value['properties']['insee'].", \"".$value['properties']['name']."\");"); $base->query("INSERT INTO Villes VALUES (".$value['properties']['insee'].", \"".$value['properties']['name']."\");");
} }
echo("INSERT INTO chiffres VALUES(\"".$decoded['date']."\", ".$value['properties']['insee'].", ".$value['properties']['contributions'].");");
$base->query("INSERT INTO chiffres VALUES(\"".$decoded['date']."\", ".$value['properties']['insee'].", ".$value['properties']['contributions'].");"); $base->query("INSERT INTO chiffres VALUES(\"".$decoded['date']."\", ".$value['properties']['insee'].", ".$value['properties']['contributions'].");");
} }
} }
@ -43,5 +42,6 @@ while( $line = $compte->fetchArray()) {
?></table> ?></table>
<div style="margin-top:auto"> <div style="position: fixed; bottom:0; width:100%;">
<a href="https://git.fedaya.net/Fedaya/progression_barometre">Le code correspondant au script</a> <a href="https://git.fedaya.net/Fedaya/progression_barometre">Le code correspondant au script</a>
</div>