I want to do search where c_id 3 then i will get product2. Again If i search c_id 1 then i will get product1, product3
Here is my table structure
p_id p_name c_id
------------------------
| |
1 | Product1 | 1
| |
2 | Product2 | 2,3,4
| |
2 | Product3 | 1,2