How to load multiple views at one time in eigniter_PHP tutorial

WBOY
Release: 2016-07-13 10:01:09
Original
1068 people have browsed it

How to load multiple views at one time in eigniter

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:

?

1

2

3

4

5

6

7

8

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');

}

1 2

3

4 5

67 8
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. http://www.bkjia.com/PHPjc/971955.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/971955.htmlTechArticleHow to load multiple views at one time in eigniter This article mainly introduces how to load multiple views at one time in codeigniter A view method, an example analysis of the practicality of the view method in codeigniter...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template