0

If I have a model called Admin_user which extends CI_Model, how do I name the file in which this model class is so that codeigniter can load it?
I named the file admin_user.php and placed it in application/models directory but Codeigniter does not load the class when I try loading the model like
$this->load->model('admin_user');

Edited by cossay

3
Contributors
3
Replies
23
Views
4 Years
Discussion Span
Last Post by cossay
1

Am not familiar with CI but my guess is that the case should match.

admin_user <> Admin_user
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.