Ok.. what am i doing wrong? .... something isnt working here.
arrPlayer is an array, and so is 'p' .
What I'm checking for is this... arrPlayer is fillin up with 6 variables... p1, p4, p5, etc .. or p15.. whatever, but it will have ONLY 6 variables .. Not more than 6.
If arrPlayer(0) or arrPlayer(1) or whatever array number is equal to p1 or p2 or p3, etc etc, then assign it to that variable.
Does that make sense?
For i = 0 to UBOUND(arrPlayer)
For x = 1 to 15
IF arrPlayer(i) = cstr("p" & CSTR(x)) THEN
p(x) = arrPlayer(i)
END IF
Next 'x
IF arrPlayer(i) = "other" THEN
other = Request.Form("txtOther"
END IF
Next 'i
Thanx for any help!!
d
arrPlayer is an array, and so is 'p' .
What I'm checking for is this... arrPlayer is fillin up with 6 variables... p1, p4, p5, etc .. or p15.. whatever, but it will have ONLY 6 variables .. Not more than 6.
If arrPlayer(0) or arrPlayer(1) or whatever array number is equal to p1 or p2 or p3, etc etc, then assign it to that variable.
Does that make sense?
For i = 0 to UBOUND(arrPlayer)
For x = 1 to 15
IF arrPlayer(i) = cstr("p" & CSTR(x)) THEN
p(x) = arrPlayer(i)
END IF
Next 'x
IF arrPlayer(i) = "other" THEN
other = Request.Form("txtOther"
END IF
Next 'i
Thanx for any help!!
d