There is a simple select list:
In the selection and preservation of data is written to database via js and php.
Next, after the person has maintained these values, you need to bring this list to him so that the values that it saved previously are displayed as marked.
As I see it:
1. To display a list with all the select from the database
2. Display a select list which the user stumbles
3. And comparisons, matching select am add a selected attribute?
4. In the end, you should see one list with the already marked fields
Please tell me how to do that?