it's 'id' not "id"

master
Jakob 2020-03-04 10:25:43 +01:00
parent 7a4004e088
commit da06892d14
1 changed files with 1 additions and 1 deletions

View File

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