it's the controller which is here to prepare data for the views:
in your CarsController->form($id) function, you need to put something like that:
$this->set("arg","whatever");
so that in your view, you can access $arg.
hope it helps.
you should probably read the manual, too...

+++++++
clement

On 1/4/07, Daniel Gomes <[EMAIL PROTECTED]> wrote:

in the first view i have it:

<?php echo $html->link('+informa&ccedil;&otilde;es','/cars/form/' .
$car['Car']['id'],null,null,false)?>

and the other view i want it:

<h4 class="titlepage">Pedido de <?php $arg ?> para &nbsp; </h4>

how do i pass the $arg on the first view? i have to pass to crontoller too?

>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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