Home >Backend Development >PHP Tutorial >How to load multiple views at one time in codeigniter, codeigniterview_PHP tutorial

How to load multiple views at one time in codeigniter, codeigniterview_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:02:05840browse

How to load multiple views at one time in codeigniter, codeigniterview

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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/970984.htmlTechArticleHow to load multiple views at one time in codeigniter, codeigniterview This article describes how to load multiple views at one time in codeigniter A view method. Share it with everyone for your reference. ...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn