Paginate Post Data

2011-02-08 Thread Dee Johnson
post data results (since they are not in the URL) Controller Code # $this-data came in from a form post $searchterm = $this-data['Model']['formfieldname']; $query = $this-paginate('Model', array('Model.Field LIKE' = '%' . $searchterm . '%')); $this-set('searchresults', $query); I saw 2

Re: Paginate Post Data

2011-02-08 Thread Tilen Majerle
is, how would I, in my circumstance paginate post data results (since they are not in the URL) Controller Code # $this-data came in from a form post $searchterm = $this-data['Model']['formfieldname']; $query = $this-paginate('Model', array('Model.Field LIKE' = '%' . $searchterm

Re: Paginate Post Data

2011-02-08 Thread Dee Johnson
thanks for the quick reply but i found the answer while i was waiting on the reply :) In my way you do not have to use GET and the only thing you need to expose to the URL is the term being searched for. here is some code for anyone who may be needing this assistance. Post search term to your

Re: Paginate Post Data

2011-02-08 Thread Dee Johnson
The redirect makes it a GET of sorts but a minimal one -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group,

RE: Paginate Post Data

2011-02-08 Thread Krissy Masters
on the db. Good luck From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Dee Johnson Sent: Tuesday, February 08, 2011 5:34 PM To: cake-php@googlegroups.com Subject: Re: Paginate Post Data thanks for the quick reply but i found the answer while i was waiting

Re: RE: Paginate Post Data

2011-02-08 Thread Dee Johnson
Thanks for the post. I wanted to post the bare minimum for people to build off of so your input works for anyone who is reading this. Please note. There are alot of other filtering and things you need to do for your own desired results...this is just to get you started. -- Our newest site