%NAVBAR%
prepare("SELECT * FROM boards WHERE id=$_GET['id']"); $statement->execute(); echo $statement->fetchAll()[0]['name']"; } if (!$result) { $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; } ?>