Welcome Guest, Not a member yet? Register   Sign In
Send email from a post
#1

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) {
 
       $data['itemView'] = $this->items_model->getItem($id);
 
       if (empty($data['itemView'])) {
 
           show_404();
 
       }
 
       $this->load->view('themes/header'$data);
 
       $this->load->view('items/view'$data);
 
       $this->load->view('themes/footer');
 
   

This is the View function in the controller, what should I do?
Reply


Messages In This Thread
Send email from a post - by Marcolino92 - 09-25-2017, 11:25 AM
RE: Send email from a post - by InsiteFX - 09-26-2017, 03:07 AM
RE: Send email from a post - by ciadvantage - 09-27-2017, 02:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB