diff --git a/blomzt/main.php b/blomzt/main.php index 70b2033..906a0e5 100644 --- a/blomzt/main.php +++ b/blomzt/main.php @@ -25,7 +25,9 @@ if (!TableExists($config["db_table"], $conn)) { + + @@ -77,6 +79,53 @@ if (!TableExists($config["db_table"], $conn)) { ?> + +
+ + @@ -111,6 +160,10 @@ function getList($conn, $table) { $res = mysqli_query($conn, $sql); //($res) ? printf("true") : printf("false"); + if ($res === false) { + return false; + } + $list = array(); while($row = mysqli_fetch_array($res, MYSQLI_ASSOC)) {