diff --git a/application/controllers/Form.php b/application/controllers/Form.php index 438df96..926d997 100644 --- a/application/controllers/Form.php +++ b/application/controllers/Form.php @@ -10,8 +10,10 @@ class Form extends CI_Controller { public function __construct() { - parent::__construct();$this->load->model('Form_model') - }public function submit() + parent::__construct(); + $this->load->model('Form_model') + } + public function submit() { if (!$this->session->userdata('logged_in')) { // If not logged in, redirect to login page