[eluser]WanWizard[/eluser]
In a standard CI setup, executing two controllers means two different page requests.
The web is stateless, one request is not aware of any other request. If you want to pass data from one request to the next, you have to use sessions.
If you mean multiple methods of a single controller, that should work. All CI classes are loaded as singletons, so
Code:
function func1()
{
$this->load->model('testmodel');
$this->testmodel->var = 'test';
}
function func2()
{
echo $this->testmodel->var; // should echo 'test'
}
should work without problems.