• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why models are not loading in autoload

#11
(12-14-2019, 02:20 PM)Wouter60 Wrote: Make sure your models are in the application/models  folder and start with a capital letter.
When loading a model with $this->load->model( ... ) don't use a capital letter.
So, it's perfectly ok to load the Vacancy_model.php with $this->load->model('vacancy_model');
To refer to methods (functions) inside the model: $this->vacancy_model->function_name();
okay we will try sir
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.