Ok, I've a sign up form that has some checkbox. Each check box has one style of music (like pop, rock, dance, techno, etc) and the user has to choose the styles that he likes most.
Ok, then I get all the data (name, city, country and music style) and put it into a DB
In DB, the result appears like "1, 3, 4" for example... in this example the value 1 = rock, 3 = pop, 4 = techno
But I wanna make a search form... in this search form, the user can choose to search for people that likes the same music style.. for example the user wants to search for people who likes rock and techo (1,4)
How would be the SQL string for this ??
I hope someone can help me...
0 · ·