do i need to load the model again and again? |
10-12-2017, 06:55 PM
(This post was last modified: 10-12-2017, 07:02 PM by nadeem14375. Edit Reason: added another error. )
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. |
Messages In This Thread |
do i need to load the model again and again? - by nadeem14375 - 10-12-2017, 06:55 PM
RE: do i need to load the model again and again? - by ChicagoPhil - 10-12-2017, 07:01 PM
RE: do i need to load the model again and again? - by nadeem14375 - 10-12-2017, 07:04 PM
RE: do i need to load the model again and again? - by ciadvantage - 10-12-2017, 09:29 PM
|