What does $_POST actually have in it? What does $daysofweek have in it? Where does i come from and shouldn't it be $i? You do know what single quoted strings do not interpolate, so that code is looking for <input name=""$daysofweek[i]""> (with no PHP operating at all on that HTML fragment)
$_POSTactually have in it? What does$daysofweekhave in it? Where doesicome from and shouldn't it be$i? You do know what single quoted strings do not interpolate, so that code is looking for<input name=""$daysofweek[i]"">(with no PHP operating at all on that HTML fragment)