• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Message: Undefined variable: data when trying to send HTML mail

#11
[eluser]spheroid[/eluser]
[quote author="vinod_ci" date="1195580755"]
$message =$this->load->view('with-ads','');
[/quote]

Likely because you're not passing the info to the $data variable (which outputs the stuff such as your table) to the view.

Try:
Code:
$message = $this->load->view('with-ads', $data, TRUE);


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.