In my mysql table one of the field has values like (1|2|3) stored in it.
id Skills
---- --------
1 1|2|3|5
2 2|4|5
3 4|6|3
4 5|2|3|1
I want to search and list the id's based on the skills matched. If i want to list the id's of the skill which contains 3
, i have to list the ids 1,3,4
. Like if i want to list the id's of the skill which contains 1,5 (either 1 nor 5 or both)
(like mulitple values 1,4,3) then i want to list 1,2,4(i want to list 2 also
). Any help could be greatly appreciated.
Thanks in advance.