editTag.asp 393 B

123456789101112
  1. <!--#include file="Conn.asp"--><%Checklogin()%>
  2. <%
  3. originaltag=Request.QueryString("originaltag")
  4. newtag=Request.QueryString("newtag")
  5. originaltag=TextEncode(unescape(originaltag))
  6. newtag=TextEncode(unescape(newtag))
  7. sqlstr="update tagTable set tagName='"&newtag&"' where tagName='"&originaltag&"' and employeeId="&Session("employee_id")
  8. conn.execute(sqlstr)
  9. conn.close
  10. Set conn=Nothing
  11. %>