Commit ec1ef5e52555c42dfe8ed98a95dbd875c7f518e5

Authored by grouille
1 parent 412545ba

Suppression RPI + capteur

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
site/accesBase.php
... ... @@ -263,7 +263,7 @@
263 263 remove($capteur['nom']);
264 264 }
265 265 $query = "DELETE FROM raspberry WHERE ip = '$ip'";
266   - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error());
  266 + $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()."ok".$ip);
267 267 deconnexion($db);
268 268 if (pg_affected_rows($result)!=0){
269 269 return True;
... ...