[eluser]Unknown[/eluser]
when i put this is controller
$data = $some_query->result();
$output['content_nav'] = $this->some_model->make_nav();
$output['content_main'] = $this->load->view('list_partial', $data, TRUE);
$output['content_sidebar'] = 'whatever kind of thing you like';
$this->load->view('template', $output);
It shows
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in C:\xampp\htdocs\CodeIgniter_2.1.0\application\controllers\welcome.php on line 28
can anybody help me