[eluser]JPrieto[/eluser]
Code:
<?php
Class Blog extends Controller
{
Function Blog()
{
parent::Controller();
}
Function index()
{
$data['title']= "My Blog Title";
$data['heading']= "My Blog Heading";
$data['query']= $this->db->get('entries');
$this->load->view('blog_view',$data);
}
}
?>
QUESTION: is there supposed to be a space after the word foreach in the views file?