similar rows with mysql |
[eluser]stuffradio[/eluser]
So say I have a table with the field called title. I want to select all the instances where the title is similar. Quote:Title: How can I do this: Quote:Title | CountOf course as you can see, I want to get the similar instances of anything with that remotely resembles John 2. I'm using this as a way to calculate the most instances of a title.
[eluser]pam81[/eluser]
Hi, well there is a formal way to do this name as inverted index http://en.wikipedia.org/wiki/Inverted_index it's not very easy! I dont' try it at code igniter or php, but maybe could be some library to work with it. I hope this helps.
[eluser]Burak Guzel[/eluser]
For finding similar text in MySQL, you can look into this: http://dev.mysql.com/doc/refman/5.1/en/f...tion_match
|
Welcome Guest, Not a member yet? Register Sign In |