#22004/1/15 11:25:29
兄弟,我刚刚在asp版块解决类似的问题。呵呵。。
======================
表格用象数定位,把下面的代码放到前台显示留言的页
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>
function HTML(fString)
fString = Replace(fString, ">", "<")
fString = Replace(fString, "<", ">")
fString = Replace(fString, CHR(32), " ")
fString = Replace(fString, CHR(13), "")
fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
fString = Replace(fString, CHR(10), "<BR>")
HTML = fString
end function
</SCRIPT>
然后用这个 <%=html(rs("留言的content"))%> 调数据出来