hi..
i am currently nearing completion of programming a search engine (to search products & FAQs in the database, of course).
i have the three following options on how to perform a keyword search, which are:
o search for all words
o search for any words
o search for exact sentence
the first and last method i was able to complete successfully. however my problem resides with the 2nd. what i have as of this moment is exploding $keyword, and searching for one word at a time. the problem with this is that since it searches for one at a time (and outputs as "results for word: -result 1<br>-result 2<br>-result 3<br>etc.,
it very likely to have repeats in the results.
so basically what i'm asking is if anyone can give me suggestions on how to have one set of non-repetitious results that have been found for three words, as opposed to 1 set of results for every word..
thanks in advance.