Load header and footer view in CI

后端 未结 4 600
独厮守ぢ
独厮守ぢ 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:21

    Make a function that loads header and footer and places data in between.

    Anyway the model on which CI is built requires the explicit loading of views (afaik).

提交回复
热议问题