No yours till doing it wrong. You do not need to call render() unless
you want to call a different .ctp file that does not associate with
the current action.
To set/pass data to the view just use the set() method.
$this->set('v', $var);
Then in your view just use it:
echo $v;
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---