From 9f4bf5b0b0d1237cfc4bbbb8da8f76125921365b Mon Sep 17 00:00:00 2001 From: Jakob Date: Sun, 8 Mar 2020 15:05:37 +0100 Subject: [PATCH] " and ' --- threadr/board/board.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/threadr/board/board.php b/threadr/board/board.php index 3dbdbe5..930098f 100644 --- a/threadr/board/board.php +++ b/threadr/board/board.php @@ -3,7 +3,6 @@ $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w $error = false; $error_message = ""; if (!$error) { - echo '

Public Boards

'; $statement = $pdo->prepare("SELECT * FROM posts WHERE board_id=$id ORDER BY post_time asc"); $statement->execute(); foreach($statement->fetchAll() as $ROW) { @@ -12,10 +11,10 @@ if (!$error) { echo "
" echo "
" echo "
" - echo "

$ROW[user_id]

" + echo "

$ROW[user_id]

" echo "
" echo "
" - echo "
" + echo "
" echo "

$ROW[content]

" echo "
" echo "
"