Welcome Guest, Not a member yet? Register   Sign In
load view() parameters???

Hi a simple question what are the parameters for the views?
I see some code with a boolean TRUE at the end i dont understand what that mean?

Quote:$this->load->view('view_file',$variable, TRUE??????)


Setting the third parameter to TRUE will save the data from the view into a string for future use/processing. The default is FALSE, which will send the view contents to the browser.

I use the TRUE function to send the view results into a variable that I can later work with....for example, this is an easy way to capture the information from a view to then send it all out as an email.....


thanks myerman

Theme © iAndrew 2016 - Forum software by © MyBB