$this->load->model() not working in CodeIgniter

前端 未结 5 1725
攒了一身酷
攒了一身酷 2021-01-13 19:52

I\'m using CodeIgniter 2.1.2 and here\'s my situation right now. I have a model named math.php in C:\\wamp\\www\\cr8v\\application\\models. I am trying to load

5条回答
  •  清歌不尽
    2021-01-13 20:12

    Well, it should always be noted that function name should not be replicated with controller or model name such as below;

    this may be helpful for developers new to CI,

提交回复
热议问题