-1
没有显示我有这个控制器CI中加载一个标题视图,另一种观点认为:扉页的笨
class Add_user extends CI_Controller{
function __construct(){
parent::__construct();
}
public function index(){
$this->load->view('header_view');
$this->load->view('add_user_view');
}
所以,这个页面: http://localhost/my-project/index.php/add_user
应该有add_user_view
称号,但它不,我不明白为什么。
这就是为了我 – eri
变化的顺序:第一:add_user_view,对不起 – Vickel
我通过将数据传递给头来看,像@wolfgang的回答表明其固定 – eri