Send all jQuery array values to php and insert into the database

The dropdown is in a form.

So is the problem this? -

 $.post('classes/post.class.php', {selectedDays: JSON.stringify(selectedDays)});