From 0ecf5689c16f77b2429a56ac0d65a8b1ed2c2d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 25 Aug 2016 22:39:51 +0200 Subject: [PATCH] Return result, no more lying error message --- blomzt/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/blomzt/main.php b/blomzt/main.php index 8ba17fc..70b2033 100644 --- a/blomzt/main.php +++ b/blomzt/main.php @@ -101,6 +101,7 @@ function addToTable($lat, $lon, $url, $table, $conn) { //printf($sql); $res = mysqli_query($conn, $sql); //($res) ? printf("true") : printf("false"); + return $res; } function getList($conn, $table) {