this one will be more consistent with URL routing:

<?php echo $this->Form->create('Message', array('action' => array('action' 
=> 'compose', $user_obj['User']['id'] ))); ?>

Same array syntax as for html->url();

On Wednesday, October 3, 2012 12:26:06 PM UTC+2, Chris wrote:
>
> Thank you Marcus !! it works,.... 
> actually I have tried that, but couldn't think of that " / " right after 
> compose... 
>
> Thanks again,... 
>
>
> On Wednesday, October 3, 2012 1:10:52 AM UTC-7, marco metal wrote:
>>
>> Hi Chris
>>
>> Try this 
>>
>> <?php echo $this->Form->create('Message', array('action' => 
>> 'compose/'.$user_obj['User']['id'] )); ?> 
>>
>>
>>
>>
>>
>> Enjoy,
>>
>> Marcus
>>
>

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to