高手啊,求救!!ASP问题
来源:百度知道 编辑:UC知道 时间:2024/09/21 04:57:33
<%if session("txtClass")="vip1" then%><img border="0" src="images/icon6.gif"><%end if%>
这段意思只有VP1能看到images/icon6.gif, 但是我希望VIP2 VIP3...都能看到要怎么加写啊?
这段意思只有VP1能看到images/icon6.gif, 但是我希望VIP2 VIP3...都能看到要怎么加写啊?
<%if session("txtClass")="vip1" or session("txtClass")="vip2" or session("txtClass")="vip3" then%>
<%if session("txtClass")="vip1" or session("txtClass")="vip2" or session("txtClass")="vip3" then%><img border="0" src="images/icon6.gif"><%end if%>
其实1楼回答得已经很完整了
完善了下
<%if session("txtClass")<>"" then%>