Welcome Guest, Not a member yet? Register   Sign In
Load model from model
#1

[eluser]Marcela[/eluser]
load a library inside a model and everything is ok,

but if i use:

Code:
$this->load->model('othermodel'); // until here is ok

$avar = $this->othermodel->amethod(); // what happen ???

Then I get this error message:

Quote:Severity: Notice

Message: Undefined property: othermodel


Messages In This Thread
Load model from model - by El Forum - 05-12-2010, 06:23 PM
Load model from model - by El Forum - 05-12-2010, 06:27 PM
Load model from model - by El Forum - 05-12-2010, 09:23 PM
Load model from model - by El Forum - 05-13-2010, 05:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB