call back function not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: call back function not working (/showthread.php?tid=59926) |
call back function not working - El Forum - 12-11-2013 [eluser]Shiva666[/eluser] I'm trying to create a call back function. In the call back function it has to check if the email address is already in the database and if it is it must give a message saying its unique, but if a person edits their details there must not be any error messages regarding the email. This is the call back function in my users controller Code: public function edit($id = NULL){ This is the rules in the users model. It's declared before the constructor Code: public $rules = array( |