h漫连裤袜刑警:大家帮我看下这段代码第一行中"Hcode"的作用是什么

来源:百度文库 编辑:中科新闻网 时间:2024/05/07 19:17:25
keywords=Hcode(trim(request.Form("keywords")))
if request.Form("search")="news" then
set rs=conn.execute("select * from news where title like'%"&keywords&"%'")
if rs.Eof and rs.bof Then
response.Write("<table cellpadding=0 cellspacing=0 width=729 height=37 bgcolor=#ffffff><tr><td width=725 height=231><div align=center><BR>没有搜索到您要找的新闻!</div></td></tr></table>")
else
response.Write( "<table cellpadding=0 cellspacing=0 width=729 height=37 bgcolor=#ffffff><tr><td width=725 height=231 align=center><br><font color=red>您的搜索结果为:</font><br><br>")
do while not rs.eof
response.Write("["&rs(3)&"] <a href=readnews.asp?id="&rs(0)&" target=_blank>"&rs(1)&"</a><br>"&vbCrlf)
rs.movenext
loop
response.Write("</td></tr></table>")
end if
CloseRs

就是把左右密码左右两边的空格去掉的意思