i am adding products. in that i have multiple select categorys option is there. i am selecting multiple categories and imploading that and storing categorys in database product table using categorys ids.
now i am fetching with single catagory id. how to call (in_array) for that query?
"select * from products where cat_id=1"
above is my query....in database cat_id is array value. now how can i retrive products where cat_id=1..