Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 306 Bytes
<h1>Kategorie produktów</h1>
<ul>
<?php
$catsql = "SELECT * FROM kategorie;";
$catres = mysql_query($catsql);
while($catrow = mysql_fetch_assoc($catres))
{
echo "<li><a href='" . $config_basedir . "/produkty.php?id=" . $catrow['id'] . "'>" . $catrow['nazwa'] . "</a></li>";
}
?>
</ul>
Something went wrong with that request. Please try again.