This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/view/pages/teamtable/index.php

32 lines
822 B
PHP
Raw Normal View History

2022-02-05 14:43:48 +00:00
<h1>Lagtabell</h1>
<br>
<table>
<tr>
<th>Navn</th>
<th>Bedrift</th>
<th>Kortnummer</th>
<th>Leder</th>
<th>Telefon</th>
<th>Deltagere</th>
<th>Runder</th>
<th>Bestetid</th>
</tr>
<?php
foreach ($teams as $row) {
2022-02-09 11:51:30 +00:00
foreach ($row as $key => $value)
{
$row[$key] = htmlspecialchars($row[$key]);
}
2022-02-05 14:43:48 +00:00
echo '<tr>';
2022-02-08 23:02:11 +00:00
echo "<td>{$row['LagNavn']}</td>";
echo "<td>{$row['Bedrift']}</td>";
echo "<td>{$row['Kortnummer']}</td>";
echo "<td>{$row['Lagleder']}</td>";
echo "<td>{$row['Telefon']}</td>";
echo "<td>{$row['Deltagere']}</td>";
echo "<td>{$row['Runder']}</td>";
echo "<td>{$row['Bestetid']}</td>";
2022-02-05 14:43:48 +00:00
echo '</tr>';
}
?>
</table>