I have a callback function that check_captcha which sees if $row is ==0 or == 1 (this information is queried from sql).
$row
==0
== 1
The p
You can set error message in set_rules :
set_rules
$this->form_validation->set_rules('captcha', 'Captcha', 'callback_check_captcha',
array('check_captcha' => 'text dont match captcha'));