Escape chars
This commit is contained in:
parent
843fc4ec33
commit
e3e429e2ad
@ -14,6 +14,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
foreach ($teams as $row) {
|
foreach ($teams as $row) {
|
||||||
|
foreach ($row as $key => $value)
|
||||||
|
{
|
||||||
|
$row[$key] = htmlspecialchars($row[$key]);
|
||||||
|
}
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo "<td>{$row['LagNavn']}</td>";
|
echo "<td>{$row['LagNavn']}</td>";
|
||||||
echo "<td>{$row['Bedrift']}</td>";
|
echo "<td>{$row['Bedrift']}</td>";
|
||||||
|
@ -13,6 +13,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
foreach ($teams as $row) {
|
foreach ($teams as $row) {
|
||||||
|
foreach ($row as $key => $value)
|
||||||
|
{
|
||||||
|
$row[$key] = htmlspecialchars($row[$key]);
|
||||||
|
}
|
||||||
echo '<tr>';
|
echo '<tr>';
|
||||||
echo "<td>{$row['LagNavn']}</td>";
|
echo "<td>{$row['LagNavn']}</td>";
|
||||||
echo "<td>{$row['Bedrift']}</td>";
|
echo "<td>{$row['Bedrift']}</td>";
|
||||||
|
Reference in New Issue
Block a user