<IMG src="0.gif">这样的值如何显示
我表里某字段的值是这样的:
<IMG src= "http://localhost/jg/UploadFiles/2007513121836530.gif ">
在页面里我想让它原样显示,请问怎么写
------解决方案-------------------- <%= "<IMG src= " "http://localhost/jg/UploadFiles/2007513121836530.gif " "> " %>
------解决方案--------------------直接用 <%=rs( "字段 ")%> 就可以显示
------解决方案--------------------str = " <IMG src= " "http://localhost/jg/UploadFiles/2007513121836530.gif " "> "
str = replace(str, "& ", "& ")
str = replace(str, " < ", "< ")
str = replace(str, "> ", "> ")
str = replace(str, " " " ", "" ")
str = replace(str, " ' ", "' ")
response.write str
------解决方案-------------------- <%=server.htmlencode( " <IMG src= " "http://localhost/jg/UploadFiles/2007513121836530.gif " "> ")%>
------解决方案--------------------Server.Htmlencode(rs( "字段名 "))