Re: [PHP-DB] Multiple word queries

2004-06-30 Thread Randy C Boland
By Shiloh's description, I think you want to replace AND with OR - using AND will only return rows that contains every word, while using OR will match any row that has any of them. On Wed, 30 Jun 2004 23:22:04 -0400, John W. Holmes <[EMAIL PROTECTED]> wrote: > For that simple example, you can just

Re: [PHP-DB] Multiple word queries

2004-06-30 Thread John W. Holmes
Shiloh Madsen wrote: say someone enters a search string of "cat dog mouse rabbit" (without the qoutes) into my search box. What I need for the results page to do is to construct a query that will search through my keywords table for every instance of ANY of those words. How would you suggest I han

[PHP-DB] Multiple word queries

2004-06-30 Thread Shiloh Madsen
I'm trying to set up a page that will take a search from a previous pages form and make a query of a keywords table using that data. Eventually I will try to do some more elaborate things like adding the ability to group phrases together and use boolean searching, but for right now the functionalit