add teams to teams table and fix for login

This commit is contained in:
2022-06-09 17:18:35 +02:00
parent af4207f66e
commit 80a03ec557
5 changed files with 85 additions and 5 deletions

View File

@@ -117,4 +117,11 @@ function load_teams_no_points($con, $s_id) {
echo "<option value=\"" . $option['m_id'] . "\">" . $option['name'] . " " . $option['feuerwehr'] . "</option>";
}
}
}
function load_fire_departments($con) {
$stmt = get_fire_departments($con);
foreach($stmt->fetchAll() as $option) {
echo "<option>".$option['feuerwehr']."</option>\n";
}
}