if ($this->form_validation->run() === TRUE) { $this->Movie_model->insertRow('movie_comments', $data); redirect('movie/comments/'. $data['movie_id']); }