devo recuperare i valori da un ciclo e poi inviarlo tramite post...
meglio fare parlare il codice:
come output ho:codice:<% i=1 for i=1 to 5 if not rs_s.eof then if request("sum") <> "" then check="checked" value="disabled" end if if request("sum")="" then id="" else id=i end if if rs_s("tipo")="Supplemento" then img="+.gif" ialt="Supplemento" end if if rs_s("tipo")="Riduzione" then img="-.gif" ialt="Riduzione" end if idrs=rs_s("id") %> 'mostro record... <input type="checkbox" <%=value%> name="id<%=id%>" <%=check%> value="<%=idrs%>"></p> </td> </tr> </table> <% rs_s.movenext end if next %>
<input type="hidden" name="id<%=i%>" value="<%=idRs%>">
in teoria dovrei fare un altro ciclo... qui...
quindi:
for i= 1 to 5
<input type="hidden" name="id<%=i%>" value="<%=idRs%>">
<%next%>
ma facendolo ricavo un unico valore ripetuto per 5 volte...
esempio:
55
55
55
55
55

Rispondi quotando