[eluser]september28[/eluser]
That's what I thought but it doesn't seem to work...
I have a form in the view that corresponds to the add function. In this view, the form submits to the url /link/add2 (link is the controller name). When I try to use $this->myvariable in add2 function it doesn't recognise the $this->myvariable....
Is it because there are 2 browser calls to the class so the object is created separately twice?
Or do I need to declare the variable in the constructor function? E.g. var $myvariable
Cheers