CodeIgniter Forums

Full Version: Codeigniter is_unique form Validation rule is not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

i am using codeigniter 1.7.2. To check the unique entry of a field i am using is_unique in form validation rules. but this thing is not working.

what should i do. Need some help here:

$this->form_validation->set_rules('cname','company name','required|xss_clean|is_unique[company_basic.company_name]');

there is no error either..