[thelist] ASP Loop Question

Scott Dexter sgd at ti3.com
Wed Mar 20 10:49:01 CST 2002


> 	variable = request.form("variable_" & x  )
>
> works, whereas


because it is a reference to an item in the request.form collection

>
> <%
> for x = 1 to 2
> 	variable = "variable_" & x


because that is just a string. The scripting engine has no idea what you
intend here; "variable_" is just another string ...

make sense?

sgd



More information about the thelist mailing list