I have a form that has a multiple select that is loaded with data from a database. In this select, the user selects several "interests". In the process of saving the data, I keep the array in the database with this format:
["17","12","11","13","5"]
Now comes the moment when I have to recover what the user selected. As a frame as "selected" those items whose values are those that are stored in the database?