You haven't explained what you're trying to do, so I have assumed that you want to insert a comma separated lsit of days into your database field.
The reason only the last day is being saved is because you're overwriting the values in your loop on line 18.
Instead, why not try replacing lines 16 - 18 with:
$days = isset($_POST['days']) ? implode(',', $_POST['days']) : '';
R
blocblue
Practically a Posting Shark
837 posts since Jan 2008
Reputation Points: 272
Solved Threads: 161
Skill Endorsements: 12