[eluser]Unknown[/eluser]
Hi!
My page turns blank when i write this in my controller, if i remove "parent::CI_Controller" it gives me undefined property:: $load. Does any one have a clue what might be the problem ?
Heres my controller:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class kontakt extends CI_Controller {
function kontakt()
{
parent::CI_Controller();
$this->load->helper('form');
}
function index()
{
//Titel for the page
$header['title'] = 'Kontakta';
// Load the views
$this->load->view('header', $header);
$this->load->view('view_kontakt');
$this->load->view('footer');
}
}