Return result, no more lying error message
This commit is contained in:
parent
cbe028a48e
commit
0ecf5689c1
@ -101,6 +101,7 @@ function addToTable($lat, $lon, $url, $table, $conn) {
|
|||||||
//printf($sql);
|
//printf($sql);
|
||||||
$res = mysqli_query($conn, $sql);
|
$res = mysqli_query($conn, $sql);
|
||||||
//($res) ? printf("true") : printf("false");
|
//($res) ? printf("true") : printf("false");
|
||||||
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getList($conn, $table) {
|
function getList($conn, $table) {
|
||||||
|
Loading…
Reference in New Issue
Block a user