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');
cossay
7
Junior Poster
Recommended Answers
Jump to PostAm not familiar with CI but my guess is that the case should match.
admin_user <> Admin_user
All 3 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
cossay
7
Junior Poster
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.