• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loading a div in view.

#3
[eluser]Colin Williams[/eluser]
Or, fetch a smaller view and send it to the main one

Code:
$data['part'] = $this->load->view('part', '', TRUE);
// Use TRUE to capture result and not render it

$this->load->view('page', $data);
// There is now a $part var in the page.php view the holds the rendered contents of the part.php view


Messages In This Thread
Loading a div in view. - by El Forum - 02-12-2009, 01:09 AM
Loading a div in view. - by El Forum - 02-12-2009, 02:22 AM
Loading a div in view. - by El Forum - 02-12-2009, 03:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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