Let say i have a field 'category' with the value '1|2|3'. I want to search in mysql such that it will return all rows matching my search parameter into the values of the category. for example:
$cat_id = 1;
SELECT * FROM `myTable` WHERE cat_id is equal or found in category with values '1|2|3'...
böyle bir şey .. ben doğru sql sorguda koymak nasıl bilmiyorum.
Herhangi bir düşünce? şimdiden teşekkürler.