[eluser]lawrencesilva[/eluser]
hello there,
im in the process of the 20minute blog tutorial
i have this line:
$data['query']= $this->db->get('entries');
and when i try to run the code this is the error that i get:
Fatal error: Call to a member function get() on a non-object in /var/www/CodeIgniter/system/application/controllers/blog.php
and
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Blog::$db
Filename: controllers/blog.php
Line Number: 28
thanks guys!