I'm using Chosen.js to show multi select dropdown menus in my forms. All these selected data by a user goes to a mysql database in a single string separated by a ";". So far, so good.
Now my problem is, I want to give my users a edit form, where they can edit all there given data. So I have to read out the data from the database and shown this up on the form. But what is the right way for a multi select dropdown menu?
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
Data saved in Database like: "21;22;23".
I'm really stuck at this...