Compare Value with Comma Separated String SQL PHP
问题 I am using two-tier chained select boxes on my webpage to filter data...I am having problem with my query for the second select values... table: id name cat loc 1 ABC resort mall road 2 BCD banquet hall mall road 3 CDE farm house, banquet hall pakhowal road 4 DEF hotel ferozpur road 5 FEZ hotel fountain chowk 6 ZEX resort mall road I have two select boxes in which first one is for DISTINCT cat values...which is working perfectly for me... Query i am using is: select distinct cat from (select