[eluser]CI2RULZ[/eluser]
passing data
$data = array(
'title' => 'My Title',
'heading' => 'My Heading',
'message' => 'My Message'
);
$this->load->view('blogview', $data);
And here's an example using an object:
$data = new Someclass();
$this->load->view('blogview', $data);
can someone post an example of a controller file with Someclass being used to define the title, heading, and message? the example above is provided in documentation, but without context.