i would rather not do this till 31 any help would be greatly appreciated, thank you!my $daily1=$stop1-$start1; my $busi1=$daily1-$personal1; $dailytotal+=$daily1; $busitotal+=$busi1; $perstotal+=$personal1; if ($stop2 > 0) { $daily2=$stop2-$start2; $busi2=$daily2-$personal2; $dailytotal+=$daily2; $busitotal+=$busi2; $perstotal+=$personal2; } if ($stop3 > 0) { $daily3=$stop3-$start3; $busi3=$daily3-$personal3; $dailytotal+=$daily3; $busitotal+=$busi3; $perstotal+=$personal3; }
In reply to New to coding - Looping code to save time by BluGeni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |