I've a field "locations" containing values in format 1,4,7,8 etc.
I want to exclude rows that contain a specific value. eg: $location = 4;
I tried: SELECT * FROM users WHERE FIND_IN_SET($location, locations) = 0
Also tried some combinations with IN .. !IN but again no results. Any suggestion?
Thank you