diff --git a/include/fms.php b/include/fms.php index 981c666..1cc8b31 100644 --- a/include/fms.php +++ b/include/fms.php @@ -19,25 +19,25 @@ if ($conn->connect_error) { Status - Rettungsdienst - Feuerwehr - Polizei + Rettungsdienst + Feuerwehr + Polizei query("SELECT * FROM `fms`"); + $fms = $conn->query("SELECT * FROM `fms`"); - if($stich->num_rows > 0) { - while ($frow = $stich->fetch_assoc()) { + if($fms->num_rows > 0) { + while ($row = $fms->fetch_assoc()) { ?> - - - - + + + + num_rows > 0) { echo("

Rettungsdienstfahrzeuge

"); showTable($conn,9); + } ?> diff --git a/include/stichwort.php b/include/stichwort.php index b8a072d..7071716 100644 --- a/include/stichwort.php +++ b/include/stichwort.php @@ -42,4 +42,4 @@ if ($conn->connect_error) { - \ No newline at end of file + diff --git a/index.php b/index.php index 834b518..8a23460 100644 --- a/index.php +++ b/index.php @@ -47,7 +47,6 @@ include("include/header.php"); -
@@ -58,7 +57,6 @@ include("include/header.php");
-