From 1040afcd76c6565020c960b022ce641f571b945c Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 4 Mar 2020 10:37:59 +0100 Subject: [PATCH] semicolon --- 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 14ac054..58da9bd 100644 --- a/threadr/boards/thread.php +++ b/threadr/boards/thread.php @@ -25,7 +25,7 @@ $navbar="boards"; $statement = $pdo->prepare("SELECT * FROM boards WHERE id=$_GET['id']"); $statement->execute(); $result = $statement->fetchAll(); - echo $result[0]['name'] + echo $result[0]['name']; } if (!$result) { $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2];