it's 'id' not "id"
parent
7a4004e088
commit
da06892d14
|
@ -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]";
|
||||
|
|
Loading…
Reference in New Issue