$text, "parsedresponsetext" => $parsed_response, "iscwed" => $cwEnabled, "cw" => $cw, "parsedcw" => $parsed_cw ), array("id" => $id) ); if ($fediEnabled) { include "fedi.php"; } header("Location: index.php?responded=1&pw={$adminPassword}"); exit(); } $query = " SELECT * FROM data WHERE id = {$id}; "; $queryResponse = pg_query($db, $query); $question = pg_fetch_array($queryResponse); $properTitle = $pageTitle . " — respond to question #" . $id; $CSSdownDirectory = 1; include "../boilerplate/pageStart.php"; include "../boilerplate/question.php"; if ($question["ispublic"] === "f") { echo("

{$pageTitle} — no such question exists

(go back?) "); http_response_code(404); } else { echo("

{$pageTitle} — question number {$question['id']}

(go back?) "); echo(getQuestion($question, 0, 0, 1, $adminPassword)); } ?>