mysql exclusion in php
| From: | Chris Payne | Date: | Thu, 30 May 2002 04:22:29 +0000 |
| Subject: | mysql exclusion in php | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-19511@lists.php.net to get a copy of this message | ||
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.
Chris