Thanks Ray, it worked.
But I still do not understand how I get the detail-page to show the selected options (with commas between). I have looked online and understand that implode should be used here. But how it is written in this case - I do not understand. Attaches the file. Thanks in advance.