Home >Backend Development >PHP Tutorial >How to load multiple views at one time in codeigniter, codeigniterview_PHP tutorial
This article describes the method of loading multiple views at one time in codeigniter. Share it with everyone for your reference. The details are as follows:
function somecontrollerfunction() { $data['pagetitle'] = "Welcome to jb51.net"; $this->load->view('pageheader', $data); $this->load->view('pagenav'); $this->load->view('pagecontent'); $this->load->view('pagefooter'); }
I hope this article will be helpful to everyone’s PHP programming based on codeigniter.