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