02-16-2010, 12:07 PM
[eluser]jbreitweiser[/eluser]
You have to assign the return from sitedropdown() to a variable and then send it to the view.
function sitedropdown()
{
$this->load->model('outage_model');
$formVar['somedata'] = $this->outage_model->sitedropdown();
$this->load->view('<name of view file>', $formVar);
}
}
You have to assign the return from sitedropdown() to a variable and then send it to the view.
function sitedropdown()
{
$this->load->model('outage_model');
$formVar['somedata'] = $this->outage_model->sitedropdown();
$this->load->view('<name of view file>', $formVar);
}
}