Io farei così, occhio agli spazi, anche l'HTML vuole la sua fetta di "correttezza":
Robycodice:<% For u = 1 To 12 %> <option value="<%=u%>"><%If u = iMonth Then%> selected="selected"<%End If%>> <%=Left(NameFromMonth(u),3)%></option> <% Next %>
Io farei così, occhio agli spazi, anche l'HTML vuole la sua fetta di "correttezza":
Robycodice:<% For u = 1 To 12 %> <option value="<%=u%>"><%If u = iMonth Then%> selected="selected"<%End If%>> <%=Left(NameFromMonth(u),3)%></option> <% Next %>
www.creamweb.it [v. 3.0]
:: Script ASP!
:: Web directory gratuita!
:: Campioni del mondo!