in reply to Help With Multiple Form Fields

you could use the repitition operator to make things easier . for example, substitute
$off_shift1 = "$td$td$td$td$td";
for
$off_shift1 = $td x 5;
this will give the same result.