better yet avvoid storing multiplee values in one field. Create a
reference table (tags) and add those values one per record. It. Will
save the code maintainers sanity down the road

On Aug 11, 11:32 pm, JamesF <[email protected]> wrote:
> some fancy combos 'LIKE' and 'OR' in your find conditions array should
> get it done. The trick is formatting your array.
>
> http://book.cakephp.org/view/74/Complex-Find-Conditions
>
> On Aug 11, 8:55 pm, "Dave Maharaj :: WidePixels.com"
>
>
>
> <[email protected]> wrote:
> > I am building a new search function for a input single field.
>
> > I have the basic set up running but as I move forward I want the user to be
> > able to enter more than 1 word coma separated.
>
> > How would I do this?
>
> > spilt the $queryValues = $query split ','
>
> > So i now have an array of values that they entered but how do I then query
> > each of those values?
>
> > Is there a better way to do this?
>
> > thanks,
>
> > Dave
--~--~---------~--~----~------------~-------~--~----~
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