Hi,
1 __a,b c,a,a b,d
2___b,a,b,b a,d
3___c,a b,c,c,d,a
in above table row 1 has maximum density of "a" and row 2 has maximum density of "b" and row 3 has maximum density of "c".if some body searches for the word "c" .All the three row will display.But "c" should come on top.Because it has got maximum density.Please suggest some idea how to do it.
I am using php/MySQL and LIKE statement of sql.
Thanks in advance.