![]() |
Form validation callback function doesn't work - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Form validation callback function doesn't work (/showthread.php?tid=1477) |
Form validation callback function doesn't work - Orriginal - 03-13-2015 Hey, I have a problem with a forum callback function. He run the script good but dont do the error message that is set in the callback function. I hope you guys can help me! PHP Code: public function unique_app_scanner_name($str, $id){ RE: Form validation callback function doesn't work - comp_nerd26 - 03-13-2015 your also assuming that $str and $id is true. in the function use $str = false, $id = NULL validate the variables before executing the query the form not echoing any messages is because your redirecting |