![]() |
sending emails - 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: sending emails (/showthread.php?tid=58583) |
sending emails - El Forum - 06-26-2013 [eluser]maru[/eluser] Hi everyone! I have this model and I get the email which I want to send Code: class People_Model extends CI_Model{ and in my controller Code: $this->load->model('people_model', 'people'); I need some help here because I can get the email and it can send it perfectly but in the message I need to send the password also and I don't know how I can get it from the model. thanks in advance! sending emails - El Forum - 06-26-2013 [eluser]Ckirk[/eluser] Try this: Code: class People_Model extends CI_Model{ Now you have the whole 'people' record so: Code: $this->load->model('people_model', 'people'); sending emails - El Forum - 06-26-2013 [eluser]maru[/eluser] Ckirk thank u so much for your help! it works!!! |