if (!is_numeric($_GET["group"])) die("");
include("header.php");
if ($_GET["lang"] == "cz") {
?>
Odkazy
$result=mysqli_query($conection,"SELECT * FROM kat_link ORDER BY nazev") or die(mysqli_error());
while ($row=mysqli_fetch_array($result))
{?>
$result2=mysqli_query($conection,"SELECT linky . *
FROM linky
WHERE skupina = $_GET[group] AND kat = $row[id] ORDER BY nazev") or die(mysqli_error());
if (mysqli_num_rows($result2) != 0) {
?>
while ($row2=mysqli_fetch_array($result2))
{?>
}
}
}?>
}
else {
?>
Links
$result=mysqli_query($conection,"SELECT * FROM kat_link ORDER BY nazev_en") or die(mysqli_error());
while ($row=mysqli_fetch_array($result))
{?>
$result2=mysqli_query($conection,"SELECT linky . *
FROM linky
WHERE skupina = $_GET[group] AND kat = $row[id] ORDER BY nazev_en") or die(mysqli_error());
if (mysqli_num_rows($result2) != 0) {
?>
while ($row2=mysqli_fetch_array($result2))
{?>
}
}
}?>
}
include("footer.php");
?>