Problems with extending CI_Form_validation |
(07-29-2017, 09:07 AM)skunkbad Wrote: You're doing it wrong. Try this: I'm kind of confuse with this user guide I tried this [doesn't work] PHP Code: $this->form_validation->set_rules('email', '', array( Log Code: ERROR - 2017-07-30 11:19:48 --> Severity: Warning --> preg_match() expects parameter 2 to be string, array given /Applications/XAMPP/xamppfiles/htdocs/xyz/system/libraries/Form_validation.php 693 Code: bool(false) string(101) " However, when I use Anonymous Function it work which I'm not looking for PHP Code: $this->form_validation->set_rules('email', '', array( |
Welcome Guest, Not a member yet? Register Sign In |