Click here to Skip to main content
15,905,587 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Dear Friends

I am developing a movies webstie using PHP & Mysql. I want to make a flexible search system in my website. So that If a user wants to search a movie from my website, he can get it even with some spelling mistakes.

For example if I save a movie with the name "Pirates" in my database and user searches it by Entering "Piretes", He should get the movie.

What Type of code Should I Write to achieve my purpose.
Posted

1 solution

Here is my article in the same subject Simple Pattern Matching Technique to Improve the Search Boxes[^]

Google will give more idea on that
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 21-Mar-11 3:27am    
Note being able to evaluate your work.., great effort, my 5.
--SA
Albin Abel 21-Mar-11 3:58am    
Thanks SAKryukov. I have a bunch of writing on String pattern matching. This is just one of it. But I didn't felt that people (code project users) really wants it now . May be later if there is is a need for it I will post it.
rashidfarooq 21-Mar-11 4:24am    
Thanks a lot brother for Helping Me.
Albin Abel 21-Mar-11 4:26am    
Welcome Bai.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900