Searching a variable
| From: | Chris Payne | Date: | Thu, 17 Jan 2002 02:33:31 +0000 |
| Subject: | Searching a variable | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15906@lists.php.net to get a copy of this message | ||
Hi there everyone,
Thanks for all the help recently everyone, it's very appreciated. I just have one last
question if that's ok :-)
I have a string taken from a form, now this string could contain 1 word or it would contain 10, what
I need to know is how do I search a DB for each word in the string? I have a simple search engine
which works great for works next to each other in the DB but I need it to search each entry for ALL
words entered, whether they are next to each other in the DB or 3 words apart, how can I do this?
Thanks for all your help.
Regards
Chris Payne
www.planetoxygene.com