Thanks a lot, it runs very well :)


On 8 Feb., 14:45, majna <[email protected]> wrote:
> http://book.cakephp.org/view/57/Controller-Methods
>
> function example () {
>    $this->set('my_value', $val);
>
> }
>
> VIew:
> <?php echo $my_value; ?>
>
> On Feb 8, 1:24 pm, amarradi <[email protected]> wrote:
>
> > Hello together,
>
> > now i've an function in my controller class that returns an numbered
> > value. This value i want show on my view.
>
> > my controller class looks so...
> > <php
> > class myController extends AppController {
> > ...
> > function example () {
>
> > return $val
>
> > }
> > ...
> > }
>
> > I think i should do it so in my view.
>
> > <?php echo $my->example ?>
>
> > How do i get it from the controller correctly in the view
>
> > many greetinngs
>
> > marcus radisch
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to