src/App/Controllers/fiat.php
@@ -30,6 +30,7 @@ } public function contact() { if($_SERVER['REQUEST_METHOD'] === 'POST') { $data = [ "email" => $this->request->post["email"], @@ -38,9 +39,10 @@ $this->model->insert($data); } $errors = $this->model->getErrors(); return $this->view("Fiat/contact.mvc.php", [ "errors" => $errors ]); }