Send email from a post |
Hi guys, I would like that in the specific post posted by a user, the visitor interested in the ad could contact him by email. Just that I want everything to be on the same page, I do not want a page to send mail, but in the same post.
https://www.codeigniter.com/user_guide/l...il-library PHP Code: public function view($id = null) { This is the View function in the controller, what should I do?
Then you would need to add the user etc to a database and send it later.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
In your 'items/view', you can embed a snippet html for the required form. Just use the ajax post to submit the user data such as
Code: //js snippet to submit form Just quick suggestion, and you can adapt to your use with some modification to suit Good luck |
Welcome Guest, Not a member yet? Register Sign In |