„threadr/boards/thread.php“ ändern

master
Erik 2020-03-04 08:10:39 +01:00
parent 3b3d554204
commit e2b7320103
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ $id = _GET('id');
if (!$error) { if (!$error) {
$statement = $pdo->prepare("SELECT * FROM boards WHERE id=$id"); $statement = $pdo->prepare("SELECT * FROM boards WHERE id=$id");
$statement->execute(); $statement->execute();
$statement->fetchAll() as $ROW $statement->fetchAll() as $ROW;
echo "$ROW[name]"; echo "$ROW[name]";
} }
if (!$result) { if (!$result) {