print_r($_GET); On Wed, Nov 25, 2009 at 8:46 AM, Ragnis <[email protected]> wrote:
> But how can i use it in form url? > > > On Nov 25, 5:29 am, "Dr. Loboto" <[email protected]> wrote: > > All as you asked. And Cake properly encoded HTML entities as symbols > > "&" are restricted in source and must be represented in text as & > > > > On Nov 24, 9:43 pm, Ragnis <[email protected]> wrote: > > > > > When doing it like this: > > > array ('controller' => 'Accounts', 'action' => 'Manage', '?' => array > > > ('var' => 'b73cr6xzr6z', 'var2' => 'somethingelse')) > > > then the result will be /Accounts/Manage/? > > > var=b73cr6xzr6z&var2=somethingelse > > > > > On Nov 24, 6:31 am, "Dr. Loboto" <[email protected]> wrote: > > > > > > 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 > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
