„threadr/boards/index.php“ ändern
parent
4084529804
commit
f9006f35f6
|
@ -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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue