Re: Need Help with Search Engine

"Patricia Dewald" <[email protected]>
Newsgroups gmane.comp.php.database
Message-ID <op.v53f1lzpw9cpif@automatix>
On Wed, 29 Jun 2011 00:00:54 +0200, Bastien <[email protected]> wrote:

>
>
> On 2011-06-28, at 5:41 PM, Guru™ <[email protected]> wrote:
>
>> Hi All,
>>
>> I coded a search engine which is pretty good on its own terms. I have  
>> functions and conditions for blank entries or any SQL injection.  
>> However I have a problem. When a user start search he uses words like  
>> "in, for, the, at, on etc..". For example: Hotels in India or Car for  
>> rent etc.. How will I ignore these words and take just the main words?  
>> Please help me.
>>
>> --
>> Best,
>> Guru™
>>
>
> When I built one, I kept an array of words not to be searched on and  
> then removed any of those terms from the search string
>

that´s clever!

-- 
best regards,
Patty

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.