[eluser]daelsepara[/eluser]
One way to pass it is via session flashdata:
Code:
$this->session->set_flashdata('varone', 'value');
redirect('some_page');
in the next controller:
Code:
function some_page()
{
$varone = $this->session->flashdata('varone');
}
the data is available only (up to) the next server request.
Otherwise, you would code your controllers in the following manner:
Code:
function func2($varone = "", $vartwo = "")
{
}
where the statements inside func2:
Code:
$varone = "", $vartwo = ""
refers to the default value for these variables should func2 be
called when none are given.
Have I understood your problem correctly?