From 1c677ae3c399598e21f43445105d67e568c2033b Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 4 Mar 2020 10:32:50 +0100 Subject: [PATCH] another fix --- threadr/boards/thread.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadr/boards/thread.php b/threadr/boards/thread.php index d13ad2c..a857f89 100644 --- a/threadr/boards/thread.php +++ b/threadr/boards/thread.php @@ -24,7 +24,7 @@ $navbar="boards"; if (!$error) { $statement = $pdo->prepare("SELECT * FROM boards WHERE id=$_GET['id']"); $statement->execute(); - $statement->fetchAll()[0]['name']"; + echo $statement->fetchAll()[0]['name']"; } if (!$result) { $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];