Validation Rules for Email CodeIgniter version 3.17

I am used to CodeIgniter .

I just started to working in CodeIgniter 3.17, and reached to validation rules.

I notice that xss_clean is now gone from the validation class, so what rules should I use in the validation of email ?

$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');

For More Visit Codeigniter website :

Leave a Comment