E
E
Eugene2017-10-19 14:54:16
MySQL
Eugene, 2017-10-19 14:54:16

In what format to store data values ​​from html "select multiple"?

Please tell me how (in what type) it is correct to store values ​​(and so that later it would be possible to make a selection by one of the values) from an HTML element of the "select multiple" type when it has several elements selected. In what format do I need to write values ​​​​to the database, so that later I can make selections one by one and them? Mysql 5.6.35 (but you can upgrade)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2017-10-19
@atachrus

store properties separately, read about one-to-many and many-to-many relationships.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question