Answer the question
In order to leave comments, you need to log in
How to save in mysql in this way and make a fetch?
For example, there are fields, id, pole1, pole2.
How to write in them like:
INSERT INTO table (pole1, pole) VALUES ('1,5,8', 'text kakoi-to');
select * from table where <b>pole1='5'</b>
Answer the question
In order to leave comments, you need to log in
As an option: create a unique identifier for each product, create a product_categories table in which to store the product id and category id, and do the selection something like this
select * from "product_categories" where "category_id"=100500;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question