sending emails |
[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!
[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');
|
Welcome Guest, Not a member yet? Register Sign In |