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

remotes/origin/mvc-implementation
Dorian HODIN 2 years ago
parent b07c63051c
commit 5f095a0812

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