what $string = $this->load->view('myfile', '', true) exactly does? |
[eluser]JoostV[/eluser]
A simple example: create an email. CONTROLLER Code: // Set data dynamically VIEW mail.php Code: Hello <?php echo $yourname; ?> Other examples: get an invoice as string from a view and store it, create an XML from view and send it as attachment, etc. |
Messages In This Thread |
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 03:29 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 03:33 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 03:55 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 04:02 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 04:08 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 04:20 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 04:48 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 05:16 AM
what $string = $this->load->view('myfile', '', true) exactly does? - by El Forum - 08-20-2010, 05:54 AM
|