SyntaxFix
Write A Post
Hire A Developer
Questions
Your query should be SELECT * FROM `table` WHERE find_in_set(interests, "sports,pub")>0
SELECT * FROM `table` WHERE find_in_set(interests, "sports,pub")>0
What I understand is that you store the interests in one field of your table, which is a misconception. You should definitively have an "interest" table.