日期:2014-05-17  浏览次数:20956 次

请大家帮我修改一下代码?急!
我把回复和发表新文章用同一个save.asp文件来保存代码有点问题.主要是save.asp中没能把回复和新文章分开来.
回复:  
<form   method= "post "   action= "save.asp ">
  <input   type= "hidden "   name= "parentid "   value= " <%=rs( "num ")%> "> <input   type= "hidden "
  name= "serialnum "value= " <%=request( "serialnum ")%> "> <p> <b> <font   size= "2 ">
  主题: </font> <input   type= "text "   name= "theme "   size= "50 "   value= "r: <%=rs( "theme ")%> "
  style   = "background-color:rgb(192,192,192);color:rgb(128,0,0) "> <br> <font   size= "2 ">
  内容: </font> </b> <br> <textarea   rows= "8 "   name= "content "   cols= "50 "  
  style= "background-color:rgb(192,192,192);color:rgb(128,0,0) "> </textarea> </p> <p>
  <input   type= "submit "   value= "提交 "   name= "b1 "> <input   type= "reset "   value= "重写 "   name= "b2 "> </p>
  </form>
新文章:
<form   method= "post "     action= "save.asp ">
    <input   type= "hidden "   name= "serialnum "   value= " <%=request( "serialnum ")%> ">
    <pre
  align= "center "> <strong> <font   size= "3 "> <font   face= "华文楷体 "   color=#000000> 发表文章 </font>     </font> </strong> </pre>
    <pre   align= "center "> <font   size= "2 "> <b> <font   face= "华文楷体 "   color=#000000> 请输入文章主题: </font>     </b> <input   type= "text "   name= "theme "   size= "31 "
  style= "background-color:rgb(255,255,255);color:rgb(128,0,0) ">     </font>   </pre>
    <pre   align= "center "> <font   size= "2 "> <b> <font   face= "华文楷体 "   color=#000000> 请输入文章的内容: </font>     </b> <strong> <font
  color= "#ff00ff "> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;     </font> </strong>
</font> <textarea   rows= "8 "   name= "content "   cols= "80 "
style= "background-color:rgb(255,255,255);color:rgb(128,0,0) "> </textarea> </pre>
    <pre>                                                   <input   type= "submit "   value= "发表 "   name= "b1 "> <input   type= "reset "   value= "取消 "
  name= "b2 ">   </pre>
</form>


save.asp:
<%
check=request( "serialnum ")