<%
dim h
for h=1 to 5
%>
<%"ttex"&h&""=request.form("text"&h&"")%>
<%next
%>
"ttex"&h&""= 这里是不对的。变量不可以这样赋值,你可以这样
<%
dim h
for h=1 to 5
%>
<%
if h=1 then
h1=request.form("text"&h&"")
end if
if h=2 then
h2=request.form("text"&h&"")
end if
if h=3 then
h3=request.form("text"&h&"")
end if
if h=4 then
h4=request.form("text"&h&"")
end if
if h=5 then
h5=request.form("text"&h&"")
end if
%>
<%next
%>
<% ttex<%h%>=request.form("text<%h%>“) %>
<% ttex&<%h%>&=request.form("text&<%h%>&“) %>
试下