public function add()
 {
     if ($_POST["author"] && $_POST["author_email"] && $_POST["content"] && $_GET["thread_id"]) {
         $answerModel = new Answer();
         $answerModel->insert($_GET["thread_id"], $_POST["author"], $_POST["author_email"], $_POST["content"]);
         header("Location: /thread/view.php?id=" . $_GET["thread_id"]);
     }
 }