diff --git a/Sources/php_script/script/test.php b/Sources/php_script/script/test.php index 8512f2f..b2e92fc 100644 --- a/Sources/php_script/script/test.php +++ b/Sources/php_script/script/test.php @@ -4,5 +4,16 @@ include "config.php"; $res = connection(); $query = "SELECT id FROM gps"; -print(mysqli_query($res, $query)); +$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