Got a quick question.

I'm trying to implement a custom search on a model that returns based on the
user's criteria. Basically I have a bunch of if statements and build up a
query before I do a paginate().

My question is, how do I keep this current? Should I use the function with
different parameters?:

function search($search = true, results = false)?

or should I just dump the result into a session and recall it from there
each time?



ThanX in advance

--
Baz L
Web Development 2.0
http://WebDevelopment2.com/

--~--~---------~--~----~------------~-------~--~----~
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 PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to