You can set form action as:
array ('controller' => 'Accounts', 'action' => 'Manage', '?' => array
('var' => 'b73cr6xzr6z', 'var2' => 'somethingelse'))On Nov 23, 9:22 pm, Ragnis <[email protected]> wrote: > I need them as GET variables. > My form is at /Accounts/Manage/?var=b73cr6xzr6z&var2=somethingelse and > when i submit the form, the GET variables will be gone but i want them > to stay. > > On Nov 22, 11:39 pm, Amit <[email protected]> wrote: > > > > > Is there a reason you can't just include the vars in the form? > > > $form->input('var', array('type'=>'hidden', 'value'=> 'b73cr6xzr6z')); > > > On Nov 22, 12:54 pm, Ragnis <[email protected]> wrote: > > > > So how can i do that? > > > And i don't want to use /Accounts/Manage/var:b73cr6xzr6z/ > > > var2:somethingelse -- 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.
