it's 'id' not "id"
parent
7a4004e088
commit
da06892d14
|
@ -22,7 +22,7 @@ $navbar="boards";
|
||||||
$error = false;
|
$error = false;
|
||||||
$error_message = "";
|
$error_message = "";
|
||||||
if (!$error) {
|
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->execute();
|
||||||
$statement->fetchAll() as $ROW;
|
$statement->fetchAll() as $ROW;
|
||||||
echo "$ROW[name]";
|
echo "$ROW[name]";
|
||||||
|
|
Loading…
Reference in New Issue