[eluser]brandingdavid[/eluser]
I put that code in my view file.
And my controller, as a consequence, doesn't have much to it.
Code:
<?php
class Frontpage extends Controller {
function Frontpage()
{
parent::Controller();
$this->load->helper('url');
$this->load->helper('form');
}
function index()
{
$this->load->database();
$this->load->view('frontpage_view');
}
}
?>