You can save yourself a lot of time writing parsers to do this by
using a Fulltext index.

http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html

Use boolean mode rather than natural language to make sure all of your
string components are present.

There is a Fulltext extension for SQLite which I haven't used and
Fulltext is also present in Postgresql.

On Jul 28, 6:01 am, adam <[email protected]> wrote:
> i have now added in a for loop that splits the search sting down into
> seperate word
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to