[eluser]spaceflunk[/eluser]
Hey
I am very new to this. I have this code:
Code:
<?php
class Pos extends Controller {
// function Pos();
// {
// parent::Controller();
//
// $this->load->helper('url');
// }
function index()
{
$data['title'] = "RJ Pos System - Start";
$this->load->view('pos_start', $data);
}
function nytSalg()
{
$data['title'] = "RJ Pos System - Nyt Salg";
$this->load->view('nytSalg_view', $data);
}
}
?>
But as soon as i remove the commentary outlining from the constructor, my page is totally empty. No errors, no nothing. Not even in the log. Am i forgetting something?
Cheers!