Load header and footer view in CI

后端 未结 4 610
独厮守ぢ
独厮守ぢ 2021-01-06 23:29

Is there any way to load view \'header\'/\'footer\' without calling $this->load->view(\'header\') or $this->load->view(\'footer\') in e

4条回答
  •  渐次进展
    2021-01-07 00:16

    You need to load view files somehow, this the way CI use to include the files.

    Stick to the standard, I think it's the best practice.

提交回复
热议问题