Hi i am using codeigniter and in database my table name is posts have one column countriesId in which i have values like this1, 21, 13, 162, 172, 182, 155
.
so in query i want to split the values 1, 21, 13...
and match the query value.
for example if i use LIKE and i am asking about record of countryID "1"
it will match 1, 21, 13
because there is "1" in values. how can i break the string within query and match the exact integer?
Thanks..