diff --git a/blomzt/main.php b/blomzt/main.php index ed8e321..c7f6557 100644 --- a/blomzt/main.php +++ b/blomzt/main.php @@ -53,11 +53,25 @@ if (!TableExists($config["db_table"], $conn)) { + "; + echo ""; + echo ""; + echo ""; + echo ""; + } ?> +
"; + echo $row["date_added"]; + echo ""; + echo $row["location"]; + echo ""; + echo ""; + echo "
@@ -78,15 +92,15 @@ function addToTable($lat, $lon, $url, $table, $conn) { //$sql = mysqli_real_escape_string($conn, $sql); //printf($sql); $res = mysqli_query($conn, $sql); - ($res) ? printf("true") : printf("false"); + //($res) ? printf("true") : printf("false"); } function getList($conn, $table) { $sql = "SELECT * FROM `$table`;"; - print_r($sql); + //print_r($sql); $res = mysqli_query($conn, $sql); - ($res) ? printf("true") : printf("false"); + //($res) ? printf("true") : printf("false"); $list = array();