I have a PHP that I want to modify. I am not sure how I would start. Currently the box will display the numbers 1 -31. I would like it to display 1-15 than 27 -31. I have never programmed in PHP before.Is this possible? Any help would be appreciated.
Tom
Tom
Code:
// Default Close Day
$sel_cldy="<select name='zcldy' size='1'>";
for ($i = 1;$i < 32;$i++) {
if($cl_cldy==$i) {
$sel_cldy.="<option selected value='".$i."'>".$i."</option>";
} else {
$sel_cldy.="<option value='".$i."'>".$i."</option>";
}
}
$sel_cldy.="</select>";