Answer the question
In order to leave comments, you need to log in
MySQL - what type of data to choose for inserting multiple values into a table?
The essence of the problem is that, for example, I leave a review and select several categories of this review.
How to store in the database a selection of several categories for a review?
I searched on my own, found out that there are 2 types of ENUM and SET lists. But they require to be pre-filled in the database when creating a table, and I can add categories and select already added ones, so such data types do not work for me ...
And how will the query be implemented to insert such data through the select multiple field ( html)?
Answer the question
In order to leave comments, you need to log in
I leave a review and select several categories of this review.
How to store in the database a selection of several categories for a review?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question