1$this->form_validation->set_rules('first_name','First Name','trim|required');
2$this->form_validation->set_rules('last_name','Last Name','trim|required');
3$this->form_validation->set_rules('email','Email','trim|required|valid_email');
4$this->form_validation->set_rules('username','Username','trim|required|min_length[3]');
5$this->form_validation->set_rules('password', 'Password', 'required');
6$this->form_validation->set_rules('confirm_password', 'Confirm Password', 'required|matches[password]');
7