How to change the variable name numbering in ascending order to assign values to them. eg: car_1, car_2, car_3, car_4........ so on.. my coding is something like;
for i=1 to 20
var(i) = request.form("car_"i)
next
foreach ......so on........
response.write(var(12) & "<br/>")
I need a way to increase the number of 'car_' to assign each car value to the 'var' array. I have tried to add it like this:
var(i) = request.form("car_"&i)
AND
var(i) = request.form("car_"i"")
and none of these work. I would very much appreciate your help to solve this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…