[eluser]InsiteFX[/eluser]
If you autoload your model in application/config/autoload
you can then access it like this:
Code:
<php echo $this->modelname->getname();?>
or you can get it in your Controller and pass it to your view like this:
Code:
var $data = array();
function index
{
$data['name'] = $this->model->getname();
$this->load->view('viewname', $data);
}
In your view:
Code:
<?php echo $name;?>
Enjoy
InsiteFX