From f737c0d3c9e03bb493eeaff39f69d0e56ec61095 Mon Sep 17 00:00:00 2001 From: Christoph Tank Date: Tue, 15 Oct 2019 17:12:57 +0200 Subject: [PATCH] ~Fix erros --- include/fms.php | 20 ++++++++++---------- include/funkrufkennziffer.php | 1 + include/stichwort.php | 2 +- index.php | 2 -- 4 files changed, 12 insertions(+), 13 deletions(-) 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");
-