Salut. Je dois effectuer un affichage de 08h30 à 18h00 dans un listbox sachant que l'affichage doit montrer 08h30, 09h00, 09h30, 10h00... jusqu'à 18h00 et dans mon cas il affiche 2 fois 08h30 et 2 fois 18h00. Quelqu'un pourrait m'aider.Merci
<td width="10%" align="center" height="23"><p align="center"><select size="1" name="heuref">
<%
name="heuref"
%>
<option value="0">Choisissez une heure de fin ici</option>
<%
for j=8 to 18
for k = 1 to 2
if k = 1 then
if j = 8 then
h="0"&j&":30"
else
if j = 9 then
h="0"&j&":00"
else if j > 9 and j < 18 then
h=""&j&":00"
end if
end if
end if
else
if j = 18 then
h=""&j&":00"
else
if j = 9 then
h="0"&j&":30"
else if j > 9 and j < 18 then
h=""&j&":30"
end if
end if
end if
end if
response.write("<option>"&h&"</option>")
next
next %>
Les Canaris redeviendront Champions de France.