Commit 412545ba79d5e913bbda9eef86d82d1abd552452

Authored by grouille
1 parent 02445fbb

Suppression RPI + capteur

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
site/accesBase.php
... ... @@ -260,7 +260,7 @@
260 260 $capteurs = pg_fetch_all($result);
261 261 foreach($capteurs as $capteur)
262 262 {
263   - echo $capteur['nom'];
  263 + remove($capteur['nom']);
264 264 }
265 265 $query = "DELETE FROM raspberry WHERE ip = '$ip'";
266 266 $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error());
... ...