From 7d67eec35b54e2cea7d54ac2ed3e0154f9429ea1 Mon Sep 17 00:00:00 2001 From: Christoph Tank Date: Tue, 15 Oct 2019 14:54:22 +0200 Subject: [PATCH] + FMS-Status --- include/fms.php | 45 +++++++++++++++++++++++++++++++++++++++++++++ index.php | 11 +++++++++++ 2 files changed, 56 insertions(+) create mode 100644 include/fms.php diff --git a/include/fms.php b/include/fms.php new file mode 100644 index 0000000..00aabba --- /dev/null +++ b/include/fms.php @@ -0,0 +1,45 @@ +getSQLHost(), $data->getSQLUser(), $data->getSQLPassword(), $data->getSQLDatabase()); +mysqli_set_charset($conn, "utf8"); + +// Check connection +if ($conn->connect_error) { + die("Connection failed: " . $conn->connect_error); +} + +// output data of each row +?> +
+
+

Stichwörter

+ + + + + + + + + + query("SELECT * FROM `fms`"); + + if($stich->num_rows > 0) { + while ($frow = $stich->fetch_assoc()) { + ?> + + + + + + +
KennungBeschreibung
+
+
\ No newline at end of file diff --git a/index.php b/index.php index cf93dbc..834b518 100644 --- a/index.php +++ b/index.php @@ -58,6 +58,17 @@ include("include/header.php"); + +
+
+
+

FMS-Status

+ +
+ +
+
+