I encountered a problem when writing code, $this->form_validation->run () = = False does not work properly. I run the CodeIgniter User Guide version 2.1.0 form Verification in the details of the example is not it? Which eldest brother elder sister gives the guidance, thanks!
Reply to discussion (solution)
Leave blank form field Submission Form you will see an error message. If you populate all form field submission forms you will see a success page
PHP code
$this->form_validation->set_rules (' product_name ', ' product ', ' required ');
if ($this->form_validation->run () = = TRUE) {
}
Foreground HTML
"/> ',");?>
Form validation class is garbage
Leave blank form field Submission Form you will see an error message. If you populate all form field submission forms you will see a success page
Problem solved, is the problem of CI configuration, hehe
How else should I configure AH, I also have the same problem