求助:这段ASP代码中 cityHTML,webget这种是什么用法啊新手,接手别人的站点,这两个用法看不懂啊,知道的说下谢谢拉!!!!!!!!!!!!1
<tr>
<td><p style="line-height:190%"><%set rs=server.createobject("adodb.recordset")
sql="select top 7 * from SMT_xxnews where SMT_key=1 and SMT_key1=1 and SMT_key2=1 and SMT_key3=1 order by SMT_id desc"
rs.open sql,conn,1,1
do while not rs.eof
set rs1=server.createobject("adodb.recordset")
sql1="select * from SMT_xxnewssort where SMT_id="&rs("SMT_newssort")
rs1.open sql1,conn,1,1
newssort=rs1("SMT_newssort")
rs1.close
title=trim(rs("SMT_title"))
if cityHTML=1 then
webget="Html/xxnews/"&year(rs("SMT_date"))&month(rs("SMT_date"))&"/"&replace(replace(replace(rs("SMT_date"),"-",""),":","")," ","")&".html"
else
webget="new_view.asp?id="&rs("SMT_id")&""
end if
%>
·<a href=<%=webget%> target="_blank" class=f14><%=LeftT(title,26)%></a><br>
<%rs.movenext
loop
rs.close%></td>
</tr>
參考答案:什么什么用法,webget这变量得到的结果是HTM文件的地址呀