From 147cd5460473e4312bcb80a0f328d96a0f846d56 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Mon, 28 Nov 2022 17:24:44 +0100 Subject: [PATCH] Final test before delete --- Sources/php_script/script/test.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Sources/php_script/script/test.php b/Sources/php_script/script/test.php index b383642..7356de6 100644 --- a/Sources/php_script/script/test.php +++ b/Sources/php_script/script/test.php @@ -3,17 +3,5 @@ include "config.php"; $res = connection(); -$query = "SELECT * FROM gps"; -$results =mysqli_query($res, $query); - -while ($row = $results->fetch_row()) { //For all the row in the database - print("\n"); - print($row[0]); - print("\n"); - print($row[1]); - print("\n"); - print($row[2]); - print("\n"); - print($row[3]); - print("\n"); -} \ No newline at end of file +$query = "DELETE FROM gps WHERE id='0'"; +mysqli_query($res, $query); \ No newline at end of file