Implementing a Search Form

2008-01-23 Thread Peter
I'm looking to implement a search on my CakePHP App. I'd like to implement the search using GET, so users can link to search results. It also makes it a little easier to handle pagination. I wanted the URL to be clean so I have the form set up without using the Cake FormHelper: form method=get

Re: Implementing a Search Form

2008-01-23 Thread grigri
The contents of the $_GET array is accessible through the $this- params['url'] array. With the added bonus that if you have magic_quotes_gpc on, then they will be stripslashed. For example, consider the following cake url : /products/search/ foo:bar?ham=eggs You then have

Re: Implementing a Search Form

2008-01-23 Thread Peter
Cheers, that's perfect. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL