change_info_save.asp
上传用户:shxinnian
上传日期:2013-01-14
资源大小:155k
文件大小:2k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

Windows_Unix

  1. <!--#include file="conn.asp"-->
  2. <%
  3. dim uID
  4. uID=request.cookies("uID")
  5. dim question,answer,rname,sex,mz,year,month,day,blcjzl,oicq,user_province,user_city,jbyydm,sfzh,tel1,addr1,zy,whcd,yzkzh
  6. question=Request.form("question")
  7. answer=Request.form("answer")
  8. rname=Request.form("rname")
  9. sex=Request.form("sex")
  10. mz=Request.form("mz")
  11. year=Request.form("year")
  12. month=Request.form("month")
  13. day=Request.form("day")
  14. blcjzl=Request.form("blcjzl")
  15. user_province=Request.form("user_province")
  16. user_city=Request.form("user_city")
  17. jbyydm=Request.form("jbyydm")
  18. sfzh=Request.form("sfzh")
  19. oicq=Request.form("oicq")
  20. tel1=Request.form("tel1")
  21. addr1=Request.form("addr1")
  22. zy=Request.form("zy")
  23. whcd=Request.form("whcd")
  24. yzkzh=Request.form("yzkzh")
  25. dim rs,sql
  26. set rs=Server.CreateObject("Adodb.Recordset")
  27. sql="select question,answer,rname,sex,mz,year,month,day,blcjzl,oicq,user_province,user_city,jbyydm,sfzh,tel1,addr1,zy,whcd,yzkzh from member where uID='"&uID&"'"
  28. rs.open sql,conn,1,3
  29. rs("question")=question
  30. rs("answer")=answer
  31. rs("rname")=rname
  32. rs("sex")=sex
  33. rs("mz")=mz
  34. rs("year")=year
  35. rs("month")=month
  36. rs("day")=day
  37. rs("blcjzl")=blcjzl
  38. rs("user_province")=user_province
  39. rs("user_city")=user_city
  40. rs("jbyydm")=jbyydm
  41. rs("sfzh")=sfzh
  42. rs("oicq")=oicq
  43. rs("tel1")=tel1
  44. rs("addr1")=addr1
  45. rs("zy")=zy
  46. rs("whcd")=whcd
  47. rs("yzkzh")=yzkzh
  48. rs.update
  49. rs.close
  50. set rs=nothing
  51. conn.close
  52. set conn=nothing
  53. response.write "<script>alert('恭喜您,资料修改成功!');location.href='change_info.asp';</Script>"
  54. %>