forked from root/threadr.lostcave.ddnss.de
„threadr/boards/index.php“ ändern
parent
2254a0f127
commit
2c51475223
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue