[记录备用]ASP,不同参数调用不同内容

May 21st, 2008 12:40 PM No Comments Filed under: 资源分享 Feed for this Entry

ASP 代码

  1. <%   
  2. rid=request("id")   
  3. cname=request("cname")   
  4.   
  5. if rid="1" and cname="abc" then   
  6.     response.write("ID=1 TXT")   
  7. elseif rid="2" and cname="xyz" then   
  8.     response.write("ID=2 TXT")   
  9. else   
  10.     response.write("ID TXT")   
  11. end if   
  12. %>  

TAGS: asp

No Comment Yet

Leave a comment

captcha
请输入验证码