Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $result = $this->form_validation->run();
- Array
- {
- 'user_name' => 'user name is required',
- 'password' => 'passord is required'
- }
- $this->form_validation->required($user_name);
- $this->form_validation->required($password);
- class MY_Form_validation extends CI_Form_validation
- {
- public function getErrorsArray()
- {
- return $this->_error_array;
- }
- }
Add Comment
Please, Sign In to add comment