Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14346

do i need to load the model again and again?

$
0
0
Is there any way to load a model once? 

I am experiencing with error:

Quote:Message: Undefined property: CI_Loader::$Users_model

when call for a view in my controllers.

loading the model solve it.

but do I need to load the model before any call to a view?

another error which is disappear 


Quote:Message: Call to a member function get_user_info() on null

I don't think its right way to load mode again and again.

Viewing all articles
Browse latest Browse all 14346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>