Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB