How to "redefine search" or correct "misspelling" from the database

Posted by From.ME.to.YOU on Stack Overflow See other posts from Stack Overflow or by From.ME.to.YOU
Published on 2010-05-07T11:33:20Z Indexed on 2010/05/07 12:28 UTC
Read the original article Hit count: 113

Filed under:
|
|
|

Hello

i want to add new feature to the search in my website. i'm using PHP and MYSQL. mysql database containing a table to the items that the user will search for, for each item there is a "keyword" column that's comma separated keywords "EXAMPLE: cat,dog,horse". after the user search in my website i want to get the words that are let me say "85%" similar to his search keyword, this is for redefine search. and for misspelling i want a service or something that provide if the keyword is correct or misspelled so i get some corrections and check if those exists in the database and then give those corrections to user to change his search keyword.

i'm not asking for a solution here ... but if you can direct me in a one way or another that will be great

Thanks guys

Cheers

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql