Hello, first of all sorry for my English I am French.
I would like to know how is it possible to use models like this:
$ var = new Model ();
Because I do not like $ this-> model-> method
I prefer to work as I use class with bookstores, I do not want to get lost with the models
For example for my class User I do:
require_once (APPPATH. 'libraries/User.php');
$ user = new User ();
I would like to do that for models but when I do
require_once (APPPATH. 'models/AuthTable.php');
$ table = new AuthTable ();
I have this error:
Message: Class 'CI_Model' not found
Thank you