![]() |
Sending a Code to an Email Address in CodeIgniter - 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: Sending a Code to an Email Address in CodeIgniter (/showthread.php?tid=67260) |
RE: Sending a Code to an Email Address in CodeIgniter - Wouter60 - 05-25-2017 I'll give you one example. You tell us you load a model named Code_model. This model contains the find_code() function. But now, you wonder why the line PHP Code: $this->find_code(); That tells me that you don't understand that you have to refer to the model, like this: PHP Code: $code = $this->code_model->find_code(); |