Commit 06e8e3d124521db7b4adb73e5c99f7b43f218e47
1 parent
c455f82a
MAJ
Showing
2 changed files
with
1 additions
and
5 deletions
Show diff stats
site/accesBase.php
... | ... | @@ -366,10 +366,6 @@ |
366 | 366 | function getTime($type) |
367 | 367 | { |
368 | 368 | $db = connexion(); |
369 | - $query = "INSERT INTO types values('Température', 5)"; | |
370 | - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); | |
371 | - $query = "INSERT INTO types values('Distance', 1)"; | |
372 | - $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); | |
373 | 369 | $query = "SELECT temps FROM types WHERE nom = '$type'"; |
374 | 370 | $result = pg_query($db, $query) or die("La requ te a echou : ".pg_last_error()); |
375 | 371 | $tab = pg_fetch_assoc($result); | ... | ... |
site/add.php