Callback function for form validation in config file
问题 I'm trying to do an email validation whereby the domain of the email would be @abc123.com . I've separated my form validation rules into another file in the application/config folder called form_validation.php . One of my rules consists of a callback_email_check . Where should I put the function? In the main controller or together with the form_validation.php file where all my form validation rules are? I've tried putting at both options but at where I display my error message I'm getting an