How to add selected data to database as list in particular column?

That question has been answered here: