I'm trying to do this kind of query, When i make the query by get, i want to display the results from the id, for example if i have this id in my GET =11;
I want to display all the products with the category_id = 11, even if they have another id in the concat format, I don't know how i can do this kind of query,
$id = $_GET['id'];
$sql = "SELECT * FROM `product` WHERE `product_category_id`='$id'";
My product_category_id contains the id's of the categories in CONCAT format:
product_category_id (type text)
11,30,29