28,409
社区成员




把3处这样的代码中的颜色代码去掉!!我本想标明改动的地方,但放代码引用里颜色无效反倒添乱了
<form action="?flag=26" method="post" name="form26" id="form26" >
<%
flag=request.QueryString("flag")
if flag<>"" then
cont=request.Form("cont"&flag)
select case flag
case 26: sql= "update ad set mtop='"&cont&"' where ID =1 "
case 27: sql= "update ad set mtop='"&cont&"' where ID =1 "
case 28: sql= "update ad set mtop='"&cont&"' where ID =1 "
end select
if sql<>"" then conn.execute(sql)
end if
%>
<form action="?flag=26" method="post" name="form26" id="form26" >
<p>输入更新内容 </p><p> </p>
<label><input type="text" name="cont26"></label>
<p><label><input type="submit" name="Submit35" value="提交"></label></p>
</form>
<span style="font-size: 16px"></span>
</td>
<td width="190" height="100" bordercolor="#000000">
<form action="?flag=27" method="post" name="form27" id="form27" >
<p>输入更新内容 </p><p> </p>
<label><input type="text" name="cont27"></label>
<p><label><input type="submit" name="Submit36" value="提交"></label></p>
</form>
<span style="font-size: 16px"></span>
</td>
<td width="190" height="100" bordercolor="#000000">
<form action="?flag=28" method="post" name="form28" id="form28">
<p>输入更新内容 </p><p> </p>
<label><input type="text" name="cont28"></label>
<p><label><input type="submit" name="Submit37" value="提交"></label></p>
</form>