[eluser]riwakawd[/eluser]
[quote author="CroNiX" date="1398960444"]
Code:
public function index() {
$data['header'] = $this->load->view('template/common/header', array(), true);
$data['footer'] = $this->load->view('template/common/footer', array(), true);
$this->load->view('template/common/login', $data);
}
In the login view,
Code:
echo $header;
echo $footer;
where you want them to show up[/quote]
Works now. Cheers why need array(),