hello guys,
I want to make 3 drop downs that will have the initial value the curent date...
Day,month,year...
i have done this,but this only gets the curent date + 2.
I need the drop down to be initialy selected with the curent day but also to have 30 days,7 days.The year is Ok like this.
PLEASE SOMEONE HELP ME !!!!!!!!!!!!!!!!!!!!!!!!!!
THANKA ALOT!!!
HTML Code:
<!------------Day -------------->
<select name="day" size="1">
<%=("<option value=""" & Curday & """>" & Curday & "</option><option value=""" & Curday + 1 & """>" & Curday + 1 & "</option><option value=""" & Curday + 2 & """>" & Curday + 2 & "</option>") %>
</select>
<!--------------------------->
<!------------MONTH -------------->
<select name="month" size="1">
<%=("<option value=""" & Curmonth & """>" & Curmonth & "</option><option value=""" & Curmonth + 1 & """>" & Curmonth + 1 & "</option><option value=""" & Curmonth + 2 & """>" & Curmonth + 2 & "</option>") %>
</select>
<!------------------------------->
<!------------YEAR -------------->
<select name="year" size="1">
<%=("<option value=""" & CurYear & """>" & CurYear & "</option><option value=""" & CurYear + 1 & """>" & CurYear + 1 & "</option><option value=""" & CurYear + 2 & """>" & CurYear + 2 & "</option>") %>
</select>
<!------------------------------->
</td>
<td>
<!------------Day -------------->
<select name="day" size="1">
<%=("<option value=""" & Curday & """>" & Curday & "</option><option value=""" & Curday + 1 & """>" & Curday + 1 & "</option><option value=""" & Curday + 2 & """>" & Curday + 2 & "</option>") %>
</select>
<!------------------------------->
<!------------MONTH -------------->
<select name="month" size="1">
<%=("<option value=""" & Curmonth & """>" & Curmonth & "</option><option value=""" & Curmonth + 1 & """>" & Curmonth + 1 & "</option><option value=""" & Curmonth + 2 & """>" & Curmonth + 2 & "</option>") %>
</select>
<!------------------------------->
<!------------YEAR -------------->
<select name="year" size="1">
<%=("<option value=""" & CurYear & """>" & CurYear & "</option><option value=""" & CurYear + 1 & """>" & CurYear + 1 & "</option><option value=""" & CurYear + 2 & """>" & CurYear + 2 & "</option>") %>
</select>
<!------------------------------->
|