Search found 2 matches

by Krabi
Fri Mar 11, 2005 6:55 am
Forum: PHP - Code
Topic: correcting misspelled words in a search input
Replies: 3
Views: 382

Thank you, but the website I'm working on is in swedish, I don't think there are such dictionnairies available...
I can add that I'm searching in short fields, like film-titles.
by Krabi
Fri Mar 11, 2005 6:05 am
Forum: PHP - Code
Topic: correcting misspelled words in a search input
Replies: 3
Views: 382

correcting misspelled words in a search input

Hello, I would like to optimize the search function on my website and implement a sort of correcting function for misspelled words. If the string doesn't match any word in my mysql field, I begin to search "select * from mytable where field like '%_tring%'" and then s_ring, st_ing, etc... ...