Response.Write中大于和小于应该用写成什么格式才算正确的?

来源:百度知道 编辑:UC知道 时间:2024/05/27 17:58:46
Response.Write "<a href="&filename&"?page="&(CurrentPage+1)&"&search="&search&"&countryid="&countryid&"cityid="&cityid&"money>="&Session("money1")&"money<="&Session("money2")&" class='contents'>

我现在想在Response.Write中运用大于和小于判断。但是我用>或<号,系统就认为我是开启和关闭了一个标签,请问我该把>或<号写成什么样才算正确?或者哪位能帮我完成上面这段代码?以让程序正常运行?
望各位不吝赐教!谢谢!

要是用">"== >
"<"== <

Response.Write "<a href="&filename&"?page="&(CurrentPage+1)&"&search="&search&"&countryid="&countryid&"&cityid="&cityid&"money1="&Session("money1")&"&money2="&Session("money2")&">是不是这样的 </a>"

我看了代码,并是这个问题,是url 是不能传递>和<,即使传过去了,也不会有作用的.用以上代码.

在接收代码的程序写如下代码:
if money >= request("money1") and money <=request("money2") then

....
end if
或直接用这
Response.Write "<a href="&filename&"?page="&(CurrentPage+1)&"&search="&search&"&countryid="&countryid&"&cityid="&cityid&"money="&money&">是不是这样的 </a>"
接收代码的程序写如下代码
money=request("money")

if money >= session("money1") and money <=session("money2") then