From d8e482cc48efd3b4a14b1b30982d96faf6c0d0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 01:48:55 +0100 Subject: [PATCH] insert mysql data into colums MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/web/index.php | 13 ++++++++++++- server/web/settings.php | 0 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 server/web/settings.php diff --git a/server/web/index.php b/server/web/index.php index 3175e33..0d0b7c4 100644 --- a/server/web/index.php +++ b/server/web/index.php @@ -40,7 +40,18 @@ if ($result->num_rows > 0) { // output data of each row while($row = $result->fetch_assoc()) { - echo "id: " . $row["id"]. " - Mac: " . $row["mac_address"]. " " . $row["universe"]. " ". $row["dmx_address"]. "
"; + echo ''' + + '.$row["id"].' + '.$row["universe"].' + '.$row["dmx_address"].' + +
+ +
+ + + '''; } } else { diff --git a/server/web/settings.php b/server/web/settings.php new file mode 100644 index 0000000..e69de29