• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.