„threadr/boards/index.php“ ändern

master
Erik 2020-03-02 08:50:09 +01:00
parent 2254a0f127
commit 2c51475223
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ $navbar="boards";
$statement = $pdo->prepare("SELECT * FROM boards"); $statement = $pdo->prepare("SELECT * FROM boards");
$statement->execute(); $statement->execute();
foreach($statement->fetchAll() as $ROW) { 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/thread.php?id=$ROW[id]'>$ROW[name]</a></li>";
} }
} }
if (!$result) { if (!$result) {