113 ochrana proti vložení skriptu, přesměrování
This commit is contained in:
@ -38,10 +38,10 @@ if (isset($_GET["id"]) and is_numeric($_GET["id"])) {
|
||||
<?php if ($students === null): ?>
|
||||
<p>Žák nenalezen</p>
|
||||
<?php else : ?>
|
||||
<h2><?php echo $students["first_name"]. " " .$students["second_name"] ?></h2>
|
||||
<p>Věk: <?php echo $students["age"] ?></p>
|
||||
<p>Dodatečné informace: <?= $students["life"] ?></p>
|
||||
<p>Kolej: <?= $students["college"] ?></p>
|
||||
<h2><?= htmlspecialchars($students["first_name"]). " " .htmlspecialchars($students["second_name"]) ?></h2>
|
||||
<p>Věk: <?= htmlspecialchars($students["age"] ) ?></p>
|
||||
<p>Dodatečné informace: <?= htmlspecialchars($students["life"])?></p>
|
||||
<p>Kolej: <?= htmlspecialchars($students["college"])?></p>
|
||||
<?php endif ?>
|
||||
</section>
|
||||
</main>
|
||||
|
Reference in New Issue
Block a user