Welcome Guest, Not a member yet? Register   Sign In
Can't load view as variable
#1

I'm trying to capture a view as a variable, rather than rendering it, by setting the third argument to TRUE, but this is still rendering the page. Can anybody help? The aim is to send this in an email.

PHP Code:
$body $this->load->view('jobs/send_quote'$dataTRUE);
$this->email->message($body); 

Many thanks in advance.
Reply


Messages In This Thread
Can't load view as variable - by calondon - 11-26-2020, 03:41 AM
RE: Can't load view as variable - by sammyskills - 11-26-2020, 07:01 AM
RE: Can't load view as variable - by calondon - 11-26-2020, 07:46 AM
RE: Can't load view as variable - by neoneeco - 11-26-2020, 07:48 AM
RE: Can't load view as variable - by InsiteFX - 11-26-2020, 01:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB