„threadr/boards/index.php“ ändern

master
Erik 2020-03-02 08:29:35 +01:00
parent 4084529804
commit f9006f35f6
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ $navbar="boards";
<h1><center>ThreadR Boards</center></h1>
</div>
<div class="item-2">
<ul class="topnav">
<ul class="list">
<?php
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$error = false;
@ -30,7 +30,7 @@ $navbar="boards";
$statement->execute();
foreach($statement->fetchAll() as $ROW) {
echo "<li><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></li>";
echo "<li><p><a href='%CONTENT_DIR%/boards?=$ROW[id]'>$ROW[name]</a></p></li>";
}
}