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');

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

admin_user <> Admin_user

Thanks Cereal.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.