prepare($stmt);
$sql->bindParam(':uuid', $_GET['rid']);
$sql->execute();
} catch (PDOException $e) {
$alert = array("danger", "Failed to close request: " . $e->getMessage());
}
$newURL = "/";
echo("");
} else {
$alert = array("danger", "You are not authorised to close this request.");
$newURL = "/view?rid=" . $request['uuid'];
echo("");
}
?>