干炒小河虾的家常做法:response.write "<img src='&<%=rss("src")%>'>" 这一句哪错了????????

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/27 13:56:32

response.write \"<img src=\'&<%=rss(\"src\")%>\'>\"
正确的写法是:
<%
Response.write \"<img src=\'\"&rss(\"Src\")&\"\'>\"
%>

<%...%>是脚本标识符,而你在<%之前就写ASP代码,肯定不能解释
或者你前面已经有了<%,所以里面的所有字符都将视为脚本代码,
<%=这样的字符当然也是错误的.