Re: Need Help with Search Engine

From: Date: Wed, 07 Dec 2011 00:34:36 +0000
Subject: Re: Need Help with Search Engine
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-48116@lists.php.net to get a copy of this message
On Tue, 28 Jun 2011 23:41:36 +0200, Guru™ <nagendra802000@gmail.com> 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.
http://en.wikipedia.org/wiki/Regular_expression For PHP read the preg_* methods like http://php.net/manual/en/function.preg-match.php

« previous php.db (#48116) next »