insertAndMakeListUser.php update

remotes/origin/database-api-implementation
Dorian HODIN 2 years ago committed by felixmielcarek
parent 98fa7d279f
commit 28a0c228d1

@ -43,7 +43,7 @@ function insertUserAndReturnList(): array|int
$id = $_POST['id']; //Get the result of POST method $id = $_POST['id']; //Get the result of POST method
$latitude = $_POST['latitude']; //Get the result of POST method $latitude = $_POST['latitude']; //Get the result of POST method
$longitude = $_POST['longitude']; //Get the result of POST method $longitude = $_POST['longitude']; //Get the result of POST method
$idMusic = $_POST['idMusic']; //Get the result of POST method $idMusic = "abcde"; //Get the result of POST method
$latitude = doubleval($latitude); //Convert a string to a double $latitude = doubleval($latitude); //Convert a string to a double
$longitude = doubleval($longitude); //Convert a string to a double $longitude = doubleval($longitude); //Convert a string to a double

Loading…
Cancel
Save