Unable to access an error message corresponding to your field name

前端 未结 5 814
情书的邮戳
情书的邮戳 2020-12-29 23:37

I have a callback function that check_captcha which sees if $row is ==0 or == 1 (this information is queried from sql).

The p

5条回答
  •  滥情空心
    2020-12-29 23:51

    That helped me

    go to application/config/autoload.php and add "Security" helper class there.

    $autoload['helper'] = array('security');
    

    Or add this before your form validation

    $this->load->helper('security');
    

提交回复
热议问题