From 646b84163474ae424b6c459e0d4e757efc65f210 Mon Sep 17 00:00:00 2001 From: Fedaya Date: Mon, 3 Mar 2025 23:04:06 +0100 Subject: [PATCH] oubli d'un code de debug, lien en bas de page --- barometre.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/barometre.php b/barometre.php index 6bb16d5..4d2186f 100644 --- a/barometre.php +++ b/barometre.php @@ -17,7 +17,6 @@ if ($last_check ===null || date_add(new DateTime($last_check), DateInterval::cre if ($ville == array()) { $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'].");"); } } @@ -43,5 +42,6 @@ while( $line = $compte->fetchArray()) { ?> -
+
Le code correspondant au script +