insertAndMakeListUser.php update
continuous-integration/drone/push Build is passing Details

remotes/origin/mvc-implementation
Dorian HODIN 2 years ago
parent 53d74f1843
commit e4932f1e94

@ -36,6 +36,8 @@ function insertUserAndReturnList(): array|int
dateLog datetime NOT NULL dateLog datetime NOT NULL
);"; );";
mysqli_query($res, $query); 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 if (!empty($_POST)) { //Check if the method POST return something

Loading…
Cancel
Save