121 přidán editace zaka, assets formular zak
This commit is contained in:
@ -8,6 +8,9 @@ $connection = connectionDB();
|
||||
|
||||
if (isset($_GET["id"]) and is_numeric($_GET["id"])) {
|
||||
$students = getStudent($connection, $_GET["id"]);
|
||||
} else {
|
||||
// pokud není nastavené id nastav ho na null
|
||||
$one_student = null;
|
||||
}
|
||||
|
||||
|
||||
@ -38,6 +41,9 @@ if (isset($_GET["id"]) and is_numeric($_GET["id"])) {
|
||||
<p>Kolej: <?= htmlspecialchars($students["college"])?></p>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
<section class="buttons">
|
||||
<a href="editace-zaka.php?id=<?= $students['id']?>">Editovat</a>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php require "assets/footer.php" ?>
|
||||
|
Reference in New Issue
Block a user