„threadr/boards/index.php“ ändern

master
Jakob 2020-02-19 22:32:45 +01:00
parent 1778e13ad5
commit fbdb7b8848
1 changed files with 1 additions and 4 deletions

View File

@ -14,12 +14,9 @@
$statement = $pdo->prepare("SELECT * FROM boards");
$statement->execute();
echo "<ul class="topnav">"
foreach($statement->fetchAll() as $ROW) {
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li>";
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li><br />";
}
echo "</ul>"
}
if (!$result) {