Hello,

I am using CakePHP in a project and would like to integrate a 'search'
function.

I'm not talking about a full index for the site (like htdig), but
mainly a search function for specific fields.

e.g. search for a person by name etc..

I'm not sure what's the best way to do this.

1. Create a model 'search' with no table and execute something like
"SELECT FROM table WHERE value LIKE '%searchvalue%'" for each field
I'd like to search.

2. integrate a 'search' function into each controller of the existing
models.

Has somebody done something like this before and would like to share
his experience or link to some example code?

In the archive and bakery I can hardly find anything about this
topic..

Best regards
Ralph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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