seperated the two board lists

master
Jakob 2020-03-06 10:46:34 +01:00
parent 9a9aac0148
commit 0fdf012dc2
1 changed files with 7 additions and 2 deletions

View File

@ -35,12 +35,17 @@ $navbar="boards";
if (!$result) {
$error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];
}
?>
</ul>
</div>
<div class="item-3">
<ul class="list">
<?php
if ($login) {
$error = false;
$error_message = "";
if (!$error) {
echo '<br /><center><h2 class="beige">Private Boards</h2></center>';
echo '<center><h2 class="beige">Private Boards</h2></center>';
$statement = $pdo->prepare("SELECT * FROM boards WHERE private='1' ORDER BY id asc");
$statement->execute();
foreach($statement->fetchAll() as $ROW) {