问一个case中判断问题
Select Case sToken
Case "membernam" : TPL_Echo MemberName
Case "membergrou" : TPL_Echo NewAsp.membergroup
Case "menbernicknam" : TPL_Echo NewAsp.menbernickname
Case "regtime" : TPL_Echo JoinTime
Case "lasttimedate" : TPL_Echo Request.Cookies(NewAsp.CookiesName)("LastTimeDate")
Case "lasttimeip" : TPL_Echo Request.Cookies(NewAsp.CookiesName)("LastTimeIP")
Case "userclass" : TPL_Echo GetUserClass
Case "expires" : TPL_Echo GetUserExpire
Case "upuser" : TPL_Echo upuser
Case "yhtgcs" : TPL_Echo csss
Case "turl" : TPL_Echo "http://"&request.ServerVariables("HTTP_HOST")&"/users/reg.asp?action=apply&yhh="&request.Cookies(NewAsp.CookiesName)("userid")
Case Else
这句代码,我想让:
判断如果NewAsp.membergroup=1
Case "turl" : TPL_Echo "普通会员获得链接"
否则就 Case "turl" : TPL_Echo "http://"&request.ServerVariables("HTTP_HOST")&"/users/reg.asp?action=apply&yhh="&request.Cookies(NewAsp.CookiesName)("userid")
请问代码应该怎么改啊,先谢谢回答的朋友
------解决方案--------------------再写if来判断。