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

DevShed:
Performing Full-text and Boolean Searches with MySQL
Jun 06, 2007 @ 19:06:00

DevShed has started a new MySQL-centric series today with this new tutorial, an initial look at working with MySQL and PHP to perform full-text and boolean searches on your data.

In this series of articles I'm going to show you how to work with full-text and Boolean searches using MySQL and PHP 5, but the entirety of the code samples that will be developed here can be easily modified to work with a different database server.

They start with the creation of a "common approach" for making the requests and fetching the results (in classes so that any other database could be substituted). With the class structure in place, they move on to the full-text searches, showing how to format database tables by creating them with a fulltext index on which ever fields you want.

tagged: mysql boolean search fulltext table database tutorial mysql boolean search fulltext table database tutorial

Link:


Trending Topics: