insertAndMakeListUser.php update and testing

remotes/origin/database-api-implementation
Dorian HODIN 3 years ago committed by felixmielcarek
parent c648b67356
commit ce679955c9

@ -90,7 +90,7 @@ function insertUserAndReturnList(): array|int
if (!empty($listUser)){
return 2;
}
return 3; //Return an array
return $listUser; //Return an array
} else { //If the method POST return nothing

@ -0,0 +1,8 @@
<?php
include "config.php";
$res = connection();
$query = "SELECT id FROM gps";
print(mysqli_query($res, $query));
Loading…
Cancel
Save