diff --git a/threadr/boards/thread.php b/threadr/boards/thread.php index 6fff144..650fe6f 100644 --- a/threadr/boards/thread.php +++ b/threadr/boards/thread.php @@ -31,7 +31,7 @@ $id = _GET('id'); if (!$error) { $statement = $pdo->prepare("SELECT * FROM boards WHERE id=$id"); $statement->execute(); - $statement->fetchAll() as $ROW + $statement->fetchAll() as $ROW; echo "$ROW[name]"; } if (!$result) {