Home > Backend Development > PHP Tutorial > php的ci框架引入视图问题!

php的ci框架引入视图问题!

WBOY
Release: 2016-06-06 20:47:02
Original
1027 people have browsed it

<code>public function add(){
    $this->load->view('user/header');
    $this->load->view('user/users/add');
    $this->load->view('user/footer');
}
</code>
Copy after login
Copy after login

为什么前边会加上php的ci框架引入视图问题!

事实上是没有的!
php的ci框架引入视图问题!

这是ci框架自生的安全措施吗?
还是哪里要修正一下,肯定有错就是没找到
ci版本是2.1.4

回复内容:

<code>public function add(){
    $this->load->view('user/header');
    $this->load->view('user/users/add');
    $this->load->view('user/footer');
}
</code>
Copy after login
Copy after login

为什么前边会加上php的ci框架引入视图问题!

事实上是没有的!
php的ci框架引入视图问题!

这是ci框架自生的安全措施吗?
还是哪里要修正一下,肯定有错就是没找到
ci版本是2.1.4

这个肯定是你的代码里面输出的,想知道在哪里可以在代码的关键位置加上:

<code class="lang-php">var_dump(__FILE__ . __LINE__);
</code>
Copy after login
Related labels:
php
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