且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

回调功能不起作用-Codeigniter3 HMVC

更新时间:2021-11-21 22:56:01

Hi @pikachu而不是这样做-

Hi @pikachu instead of doing this -

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

使用管道元素将其分成单独的参数,例如-

use the piped elements separate into individual parameters like -

$this->form_validation->set_rules('username', 'Email', 'required', 'callback_IsEmail_exist');

这可能会对您有所帮助。

this may be help you.