Welcome Guest, Not a member yet? Register   Sign In
Problem with construct double loading
#3

(12-06-2015, 02:41 PM)kenjis Wrote: Remove the line `$test = new Test_model();`.

This is because `$this->load->model('Test_model')` creates a Test_model instance (and set it to $this->Test_model).

Whoa. How did I miss this... Thank you.
Reply


Messages In This Thread
Problem with construct double loading - by kkuja - 12-06-2015, 09:54 AM
RE: Problem with construct double loading - by kkuja - 12-07-2015, 02:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB