Welcome Guest, Not a member yet? Register   Sign In
database problem
#2

[eluser]purerj[/eluser]
One thing jumped right out when I looked at your code. You named your model "Blogmodel" and you refer to it as "blog_model" in your controller.

$this->load->model(‘blog_model’);
$data[‘query’] = $this->blog_model->get_entries();

Fix that first. Smile


Messages In This Thread
database problem - by El Forum - 01-07-2010, 07:52 PM
database problem - by El Forum - 01-07-2010, 08:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB