Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

request.form problem

Status
Not open for further replies.

xue

Programmer
Feb 5, 2001
12
0
0
US
I have a loop that is going to display everything including the quantity:
dim i
i = 1
.......
</TD><TD><INPUT TYPE=&quot;textbox&quot; SIZE=5 NAME=&quot;qty<%=i%>&quot; VALUE=&quot;<%=rs(&quot;Qty&quot;)%>&quot;>

i = i + 1

but later on I want to display the quantity(qty) one by one with a loop:
dim j
j = 1
.....
Response.Write Request.Form(&quot;qtyj&quot;) 'this is definitely
'wrong
j = j + 1

how can I put the j inside the Request.Form instead of using qty1, qty2, qty3....?
thank you very much.

 
Have you tried
Code:
Response.Write Request.Form(&quot;qty&quot; &amp; j)
HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top