Re: Search function

From: Date: Wed, 09 May 2007 13:27:42 +0000
Subject: Re: Search function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254642@lists.php.net to get a copy of this message
Ryan A wrote: > Hey! > > .....A little background: > We have a site that has already been made.. a couple of hundred pages > displayed via SMARTY templates, the site's in Swedish. > > The navigation and other parts except for the center is taken care of by > the templates and other scripts... the center main text is taken from the > database(mySql) based on $page_id...its in a MySql TEXT field and has all > the html etc that will be displayed in the center of the page. > > ....End of background.. > > Now they want to add a "search function" to the site... a simpe textbox > where a user enters a word or sentance and they get 20 results per page... > with a "x.xx % closest to your query" can anybody give me basic pointers > on where to start? Any links/software or articles too would be > appreciated... > > (I can do the pagentation etc... just the search logic...) > > Thanks! > R Don't reinvent the wheel - mnogosearch has php compatibility. http://www.mnogosearch.org/ Cheers -- David Robley Tried to play my shoehorn... all I got was footnotes! Today is Prickle-Prickle, the 56th day of Discord in the YOLD 3173.

« previous php.general (#254642) next »