Welcome Guest, Not a member yet? Register   Sign In
What to do???
#9

[eluser]bretticus[/eluser]
[quote author="sudinem" date="1268783156"]
I got this error following ur instruction[/quote]

I haven't actually given you any instructions. I have never seen your code. Thus, I have done nothing more that make suggestions. That being said...

This notice (not an error) is generated from what seems to be you trying to access db as a property of your model. Yes, since models extend the Model class, you can access the db object via $this->db INSIDE your model class. You cannot access via:

Code:
$this->your_model->db->count_all()

Which I can only guess at because you haven't actually posted any code.


Messages In This Thread
What to do??? - by El Forum - 03-15-2010, 08:57 AM
What to do??? - by El Forum - 03-15-2010, 09:01 AM
What to do??? - by El Forum - 03-15-2010, 10:50 PM
What to do??? - by El Forum - 03-15-2010, 10:55 PM
What to do??? - by El Forum - 03-15-2010, 11:03 PM
What to do??? - by El Forum - 03-16-2010, 11:43 AM
What to do??? - by El Forum - 03-16-2010, 11:48 AM
What to do??? - by El Forum - 03-16-2010, 12:45 PM
What to do??? - by El Forum - 03-16-2010, 01:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB