it is now possible to edit station entries

This commit is contained in:
2022-06-17 17:18:41 +02:00
parent 491a12276d
commit 4ca75ef48d
7 changed files with 108 additions and 8 deletions

View File

@@ -35,9 +35,9 @@ function generate_password_hash($password, $salt) {
}
function load_stations_table($con) {
$stmt = get_stations($con);
$stmt = get_stations_all($con);
foreach($stmt->fetchAll() as $row) {
echo "<tr>";
echo "<tr id=\"" . $row['s_id'] . "\">";
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['standort'] . "</td>";
echo "</tr>";