Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevArticles:
Making The Most of Searching
Jun 27, 2003 @ 12:04:12

Over on DevArticles this morning, there's a new article for anyone out there needing a good "document search tool" for their site - Developing a Dynamic Document Search in PHP Part 1/2.

In this new piece, they help you create a database to manage your content (looks like just plain-text here, no Word docs or anything), and use some of the power of PHP and MySQL working together to grab the results of your keyword search. They also link the keyword table with the content table so that common terms you might see can be quickly and easily accessed without having to search the entire content in the DB.

This search tool looks pretty useful, but you can do similar things with the fulltext searching in MySQL, plus you get a percentage match back (if you do it right) of how close the result is to the desired search term...

tagged:

Link:


Trending Topics: