this question maybe very simple for you. i’m using mysql regexp statment.
myQuery is
select * from contents where categories regexp '{myPattern}';
categories field area 54,25,99,4,2… etc string.
my question how can i find only number of ‘4’ from categories field.
sorry for my english.
help me please.
… WHERE FIND_IN_SET('4', categories) > 0better yet to normalize your db scheme with categories in their own table and then join these tables together m:n