Practical CodeIgniter 3 - A new book coming soon |
The __call method is wrong. The "get" method in Codeigniter return not the db object. It return a result object. The result does not exist in the db object.
In the __call method you need to return the result object. http://www.codeigniter.com/user_guide/da...ilder::get http://www.codeigniter.com/user_guide/da...er::select |
Welcome Guest, Not a member yet? Register Sign In |