Home > Article > Backend Development > How to load multiple views at one time in eigniter_PHP tutorial
This article mainly introduces the method of loading multiple views at one time in codeigniter, and analyzes the views in codeigniter with examples Friends who need practical tips on the method can refer to it
The example in 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:
?
3 4 5
|
function somecontrollerfunction()
{
$data['pagetitle'] = "Welcome to jb51.net";
$this->load->view('pageheader', $data);
$this->load->view('pagenav'); |