[eluser]Unknown[/eluser]
I can't seem to do it. Every time I try, I get an error message like this:
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined property: CI_Loader::$mymodel
Filename: mymodel.php
Line Number: 5
Fatal error: Call to a member function hello() on a non-object in ~/public_html/codeigniter/system/application/views/content/form/forening_redigera.php on line 5
[eluser]Unknown[/eluser]
[quote author="wiredesignz" date="1201233580"]You can't load Models in your View, but you can access them from the View after they have been loaded in the Controller[/quote]
Oh! Thanks a lot.