mirror of
http://git.frickel.earth/Tysox/BOS-Pinneberg.git
synced 2025-05-21 06:24:30 +02:00
~ fkz in function
This commit is contained in:
parent
1c10a78a77
commit
83a72c1205
@ -84,41 +84,4 @@ if ($result->num_rows > 0) {
|
||||
showTable($conn,9);
|
||||
|
||||
|
||||
function showTable($conn,$number) {
|
||||
?>
|
||||
<section class="section--center mdl-grid mdl-grid--no-spacing mdl-shadow--2dp">
|
||||
<div class="mdl-card mdl-cell mdl-cell--12-col mdl-card--border mdl-card__supporting-text">
|
||||
<table style="margin-left: auto; margin-right: auto"
|
||||
class="mdl-data-table mdl-js-data-table mdl-shadow--2dp">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="mdl-data-table__cell--non-numeric">Kennung</th>
|
||||
<th class="mdl-data-table__cell--non-numeric">Beschreibung</th>
|
||||
<th class="mdl-data-table__cell--non-numeric">Abkürzung</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$funk = $conn->query("SELECT * FROM `funk` WHERE `gruppe` = ". $number);
|
||||
|
||||
if ($funk->num_rows > 0) {
|
||||
while ($frow = $funk->fetch_assoc()) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Kennung'] ?></td>
|
||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Bedeutung'] ?></td>
|
||||
<td class="mdl-data-table__cell--non-numeric"><?php echo $frow['Abk'] ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php
|
||||
}
|
||||
|
||||
} ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user