IsNumeric 函数 已访问连接 的判断语句写法

来源:百度知道 编辑:UC知道 时间:2024/06/26 01:23:49
<%
if IsNumeric(request("url"))=False then
url=""
else
url=request("url")
end if
%>

<%if url="" then%><DIV class=Slan>首 页</DIV><%else%><DIV class=Shui><a href="/">首 页</a></DIV><%end if%>

<%if url="/wz" then%><DIV class=Slan>我的文章</DIV><%else%><DIV class=Shui><a href="/">首 页</a></DIV><%end if%>

我写的这个效果不出来,大家给我看看。谢谢大家啊

<%
if IsNumeric(request("url"))=False then
url=""
else
url=request("url")
end if
%>

<%if url="" then%><DIV class=Slan>首 页</DIV><%else%><DIV class=Shui><a href="/">首 页</a></DIV><%end if%>

<%if url="/wz" then%><DIV class=Slan>我的文章</DIV><%else%><DIV class=Shui><a href="/">首 页</a></DIV><%end if%>

什么东西啊~~