<%
dim i
dim x
dim y
dim z
x = Request.Form("mTrainee")
y= Request.Form("fTrainee")
z= cInt(x)+cInt
For i = 1 to z
%>
<TR>
<TD>
<INPUT NAME=("lname"<% & i %> ) SIZE="20"></TD><TD><INPUT NAME=("organ"<% & i %> ) SIZE="20"></TD><TD><INPUT NAME=("profess"<% & i %>") SIZE="20"></TD><TD><INPUT NAME=("pNum"<% & i %> ) SIZE="20"></TD>
</TR>
<%
Next
%>
its purpose is to generate text boxes with names like
lname1, organ1...
lname2,organ2....
depending on what z is
it keeps telling me &i is the error. last time i used something like this to enter the value in the database that worked but this is not working any help is appreciated
dim i
dim x
dim y
dim z
x = Request.Form("mTrainee")
y= Request.Form("fTrainee")
z= cInt(x)+cInt
For i = 1 to z
%>
<TR>
<TD>
<INPUT NAME=("lname"<% & i %> ) SIZE="20"></TD><TD><INPUT NAME=("organ"<% & i %> ) SIZE="20"></TD><TD><INPUT NAME=("profess"<% & i %>") SIZE="20"></TD><TD><INPUT NAME=("pNum"<% & i %> ) SIZE="20"></TD>
</TR>
<%
Next
%>
its purpose is to generate text boxes with names like
lname1, organ1...
lname2,organ2....
depending on what z is
it keeps telling me &i is the error. last time i used something like this to enter the value in the database that worked but this is not working any help is appreciated