
Originariamente inviata da
mexican
Allora potresti fare un ciclo nel ciclo
Onestamente in asp classic il codice non mi viene in mente non lo uso da oltre 8 anni
Devo fare una cosa del genere vero?
codice HTML:
RSCarrello.MoveFirst
K = 0
Do while Not RSCarrello.EOF
MancaProdotto = False
If MancanoProdotti Then
For I = 0 To UBound(ProdottiMancanti, 2)
If ProdottiMancanti(0, I) = RSCarrello("IDProdotto") Then
SQL = " UPDATE Carrello Set Quantita = " & ProdottiMancanti(1, I) & " WHERE IDProdotto = " & ProdottiMancanti(0, I) & " AND IDSessione = '" & SessionID & "' "
Set RS = Conn.Execute(SQL)
K = K + 1
Mancanti = Mancanti & "&id" & K & "=" & ProdottiMancanti(0, I) & "&quantita" & K & "=" & RSCarrello("Quantita")
End If
Next
End If
RSCarrello.MoveNext
Loop
Ma che signifdica
ProdottiMancanti(1, I)
e
ProdottiMancanti(0, I)
?
Grazie