Hi guys,

I have a simple form in my view. Currently, the form is posting the
data back to my controller. I would like to post the data to named
parameters instead.

Say for example I have this :

<?php
  echo $form->create(false, array('action' => 'index'));
  echo $form->input('search');
  echo $form->end('search');
?>

How do I make this form load the url 
www.example.com/controller/search:some+keywords
?

I've tried setting 'type'=>'get' in the $form->create options array,
but it will generate a ugly, old-fashioned url instead of using the
nice named parameters.

Any ideas ?

Thanks !

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

Reply via email to