Wednesday, October 3, 2012

Re: forn create with ID

use "url" key in array list for FormHelper::create() method and create url u like with cake's paths :)
--
Lep pozdrav, Tilen Majerle



2012/10/3 Chris <chris69m@yahoo.com>
hi guys,... 
I want to create Form to submit in action 'compose' with "ID"  $user_obj['User']['id'] 

where and how do I add   $user_obj['User']['id'] to,...? 

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

this is nowhere in the book 1.3 CAKE

thanks 
chris

--
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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

--
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 cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: