From 2093e6c899ccf89012b88dac5ffa2e4142937935 Mon Sep 17 00:00:00 2001 From: grouille Date: Mon, 20 Apr 2020 21:15:03 +0200 Subject: [PATCH] Suppression RPI + capteur --- site/accesBase.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/site/accesBase.php b/site/accesBase.php index 9fe8ff7..ef85a50 100644 --- a/site/accesBase.php +++ b/site/accesBase.php @@ -263,6 +263,7 @@ remove($capteur['nom']); } $query = "DELETE FROM raspberry WHERE ip = '$ip'"; + echo $query; $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); deconnexion($db); if (pg_affected_rows($result)!=0){ -- libgit2 0.21.2