%NAVBAR%

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