the headers already sent error happens if there is space between php code blocks:
you are probably copying a blank space.
this is a bad way to set up your database and will lead to problems with data normalization.
the problem with doing this is that the same data is stored over and over in multiple places, what happens if a change to one of those fields need to be made?
instead of storing the related data in the table, the select list should store the ID of the record, then you can use a join query to retrieve the related data at run time.