• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I create a nested view within a nested view?

#6
You can use an undocumented CodeIgniter method:

PHP Code:
$data = array();

$data['title' 'My Title';
$data['header'] = 'My Header';
        
/**
 * CodeIgniter Undocumented vars method.
 * This method caches all the data global
 * to the views.
 */
$this->load->vars($data);
        
$this->load->view('Your_View'); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: How do I create a nested view within a nested view? - by InsiteFX - 09-26-2017, 10:43 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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