3
0
mirror of http://git.frickel.earth/Tysox/BOS-Pinneberg.git synced 2025-05-21 06:24: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> <thead>
<tr> <tr>
<th class="mdl-data-table__cell--non-numeric">Status</th> <th class="mdl-data-table__cell--non-numeric">Status</th>
<th>Rettungsdienst</th> <th class="mdl-data-table__cell">Rettungsdienst</th>
<th>Feuerwehr</th> <th class="mdl-data-table__cell">Feuerwehr</th>
<th>Polizei</th> <th class="mdl-data-table__cell">Polizei</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php <?php
$stich = $conn->query("SELECT * FROM `fms`"); $fms = $conn->query("SELECT * FROM `fms`");
if($stich->num_rows > 0) { if($fms->num_rows > 0) {
while ($frow = $stich->fetch_assoc()) { while ($row = $fms->fetch_assoc()) {
?> ?>
<tr> <tr>
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['fms_status'] ?></td> <td class="mdl-data-table__cell"><?php echo $row['fms_status'] ?></td>
<td><?php echo $frow['fms_rt'] ?></td> <td><?php echo $row['fms_rt'] ?></td>
<td><?php echo $frow['fms_ff'] ?></td> <td><?php echo $row['fms_ff'] ?></td>
<td><?php echo $frow['fms_pol'] ?></td> <td><?php echo $row['fms_pol'] ?></td>
</tr> </tr>
<?php <?php
} }

View File

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

View File

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