06-08-2008, 09:04 PM
[eluser]EEssam[/eluser]
Hello,
I'm wondering what is the most practical way to load a header and a footer.
I know I can do:
$this->load->view('header');
$this->load->view('myview');
$this->load->view('footer');
But I just don't see how I should call this in almost each function in my controller classes.
Please advise.
Hello,
I'm wondering what is the most practical way to load a header and a footer.
I know I can do:
$this->load->view('header');
$this->load->view('myview');
$this->load->view('footer');
But I just don't see how I should call this in almost each function in my controller classes.
Please advise.