3
0
mirror of http://git.frickel.earth/Tysox/BOS-Pinneberg.git synced 2025-05-20 21:14:30 +02:00

~Fix erros

This commit is contained in:
Christoph Tank 2019-10-15 17:12:57 +02:00
parent 4d9e47f714
commit f737c0d3c9
4 changed files with 12 additions and 13 deletions

View File

@ -19,25 +19,25 @@ if ($conn->connect_error) {
<thead>
<tr>
<th class="mdl-data-table__cell--non-numeric">Status</th>
<th>Rettungsdienst</th>
<th>Feuerwehr</th>
<th>Polizei</th>
<th class="mdl-data-table__cell">Rettungsdienst</th>
<th class="mdl-data-table__cell">Feuerwehr</th>
<th class="mdl-data-table__cell">Polizei</th>
</tr>
</thead>
<tbody>
<?php
$stich = $conn->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()) {
?>
<tr>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['fms_status'] ?></td>
<td><?php echo $frow['fms_rt'] ?></td>
<td><?php echo $frow['fms_ff'] ?></td>
<td><?php echo $frow['fms_pol'] ?></td>
<td class="mdl-data-table__cell"><?php echo $row['fms_status'] ?></td>
<td><?php echo $row['fms_rt'] ?></td>
<td><?php echo $row['fms_ff'] ?></td>
<td><?php echo $row['fms_pol'] ?></td>
</tr>
<?php
}

View File

@ -83,4 +83,5 @@ if ($result->num_rows > 0) {
echo("<h4>Rettungsdienstfahrzeuge</h4>");
showTable($conn,9);
} ?>

View File

@ -42,4 +42,4 @@ if ($conn->connect_error) {
</tbody>
</table>
</div>
</section>
</section>

View File

@ -47,7 +47,6 @@ include("include/header.php");
</section>
</div>
</div>
<div class="mdl-layout__tab-panel" id="frz">
<section class="section--center mdl-grid mdl-grid--no-spacing">
<div class="mdl-cell mdl-cell--12-col">
@ -58,7 +57,6 @@ include("include/header.php");
</section>
</div>
</div>
<div class="mdl-layout__tab-panel" id="fms">
<section class="section--center mdl-grid mdl-grid--no-spacing">
<div class="mdl-cell mdl-cell--12-col">