I am facing some problems in MySQL query in PHP.
I have the below Bengali words in a column named 'keywords' and they are assigned to 'গৌরিপ্রসন্ন মজুমদার' value of another column named 'name' in a table named 'lyricist'
সয়না,রয়না,কেমন,তাকে,আমার,তুমি,কৃষ্ণ,রাধে,দিতে,চাই,আরো,কাছে,তোমার,আমার,তুমি,থাকো,কাছে,ডাকো,আমি,পড়েছে
When I'm searching for some consecutive words like 'তোমার,আমার,তুমি' I get the correct answer 'গৌরিপ্রসন্ন মজুমদার' But when i'm searching for random words like 'তোমার,তুমি' it's not giving any answer.
$query = "SELECT name FROM `lyricist` WHERE keywords LIKE '%$val%'";
Here $val has 'তোমার,আমার,তুমি' or 'তোমার,তুমি' these type of values.
Why not it's treating the item randomly? Please HELP.