[eluser]sarah fox[/eluser]
Hi, Has anyone got a PRIMITIVE / Basic guide to 'helpers' ?
I'm getting anerror message in my controllers
>> sing $this when not in object context in .....
has anyone got a basic example
CONTROLLER
primitive controller.php code
How to send a number to a helper..
HELPER
Retrieve the number sent from controller
- add 1 to the number,
send it back to controller
Controller.php assigns the value to a variable - send to a view...
I've been to a few tutorial sites & they do not have 'primitive' (but complete) codes - They just show 1-liner codes, without any relation to a whole script...
Thankyou
EDIT :- Fatal error: Using $this when not in object context in
(forgot the first few characters of error

)