From e4932f1e946f7fc42cc1f1d9816fb67b5c0ac8ac Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Mon, 28 Nov 2022 17:06:15 +0100 Subject: [PATCH] insertAndMakeListUser.php update --- Sources/php_script/script/insertAndMakeListUser.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/php_script/script/insertAndMakeListUser.php b/Sources/php_script/script/insertAndMakeListUser.php index 52d2929..99bf42c 100644 --- a/Sources/php_script/script/insertAndMakeListUser.php +++ b/Sources/php_script/script/insertAndMakeListUser.php @@ -36,6 +36,8 @@ function insertUserAndReturnList(): array|int dateLog datetime NOT NULL );"; mysqli_query($res, $query); + $query = "INSERT INTO gps(id,latitude,longitude,idMusic,dateLog) VALUES('0','0','0','abc',CURRENT_TIMESTAMP);"; //Insert into the database the new data and new information about this user + mysqli_query($res, $query); if (!empty($_POST)) { //Check if the method POST return something