From 3e99bef3012c88b1c6ed65b2ea54741c434ec6b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 01:41:46 +0100 Subject: [PATCH] fixed var MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/web/index.php b/server/web/index.php index 756ecf9..3175e33 100644 --- a/server/web/index.php +++ b/server/web/index.php @@ -35,7 +35,7 @@ echo "Connected successfully"; $sql_query = "SELECT id, mac_address, universe, dmx_address FROM tubes"; - $result = $conn->query($sql); + $result = $conn->query($sql_query); if ($result->num_rows > 0) { // output data of each row