请高手给翻译一段asp代码!

来源:百度知道 编辑:UC知道 时间:2024/07/05 06:17:00
<!--#include file = admin_conn.asp -->
<!--#include file = titleb.asp -->
document.write("<head><meta http-equiv='Content-Language' content='zh-cn'><meta http-equiv='Content-Type' content='text/html; charset=gb2312'></head>");

<%

Function glhtmlgg(title)
title=replace(title," ","")
title=replace(title,"""","'")
title=replace(title,chr(10),"")
title=replace(title,chr(13),"<br>")
glhtmlgg=title
set reg=nothing
End Function

id=trim(Request("id"))
if (not isNumeric(ID)) then
id=""
end if
ttt=trim(request("ttt"))
if ttt="" then ttt=1
if id="0" then id=""
sql="select * from [webgg]"

if id<>"" then sql=sql&&q

哎,太简单了……没兴趣。
如果你什么都不懂,给你讲了你还是不懂
建议去看哈书再来看这个,一目了然

看来自己真是笨啊,这些问题我也看不懂,学习学习。。。

嗯 ,梦零99 虽然很逼人 ,不过倒是正解 。