You need to parse the string and PHP and generate the appropriate query 
based on that parsing...


At 09:22 PM 5/29/2002 -0700, Chris Payne wrote:
>Hi there everyone,
>How can I do a search which excludes certain words if they put a - in the 
>search string?  I can do a search easily, but if they put a - infront of a 
>word in the string, how can I then get MySQL to search all entries EXCEPT 
>where the word with a - next to it appears?
>Thanks for everything.

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to