113 ochrana proti vložení skriptu, přesměrování
This commit is contained in:
@ -41,7 +41,7 @@ if ($result === false) {
|
||||
<?php else: ?>
|
||||
<ul>
|
||||
<?php foreach ($students as $one_student): ?>
|
||||
<li><?php echo $one_student["first_name"]. " " .$one_student["second_name"] ?></li>
|
||||
<li><?= htmlspecialchars($one_student["first_name"]). " " .htmlspecialchars($one_student["second_name"]) ?></li>
|
||||
<a href="jeden-zak.php?id=<?= $one_student['id'] ?>">Více informací</a>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
Reference in New Issue
Block a user