You can use redirection:

public function search($keyword=null){
   if (isset($this->params['form']['search'] && !empty($this->params
['form']['search'])){
       $this->redirect('/products/search/'. $this->params['form']
['search']);
    }
}

or use http get:
http://book.cakephp.org/view/184/options-type


On Aug 20, 3:47 pm, kicaj <[email protected]> wrote:
> How add to url search keyword?
> I want like this url: /products/search/keyword from simple form with
> one text input field?
>
> Sorry, maybe it's stupid question...
--~--~---------~--~----~------------~-------~--~----~
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