主题:看看这段代码,是什么意思
<%
dim typeto,idtype
typeto=trim(request("typeto"))
idtype=trim(request("idtype"))
%>
<%
set rs=server.createobject("adodb.recordset")
sql="update "& typeto &" set dj=dj+1 where zid = "&request("zid")
rs.open sql,conn,1,3
sql="select * from "& typeto &" where zid = "&request("zid")
rs.open sql,conn,1,1
name1=(rs.Fields.Item("username").Value)
fdat=(rs.Fields.Item("dat").Value)
Num1=Cstr(year(fdat))
Num2=Cstr(month(fdat))
Num3= Cstr(day(fdat))
%>
dim typeto,idtype
typeto=trim(request("typeto"))
idtype=trim(request("idtype"))
%>
<%
set rs=server.createobject("adodb.recordset")
sql="update "& typeto &" set dj=dj+1 where zid = "&request("zid")
rs.open sql,conn,1,3
sql="select * from "& typeto &" where zid = "&request("zid")
rs.open sql,conn,1,1
name1=(rs.Fields.Item("username").Value)
fdat=(rs.Fields.Item("dat").Value)
Num1=Cstr(year(fdat))
Num2=Cstr(month(fdat))
Num3= Cstr(day(fdat))
%>