复制代码 代码如下:<%
Function Newtxt(sz,strtxt,cityid)
Dim ali,icount,i
Dim ali2
ali=split(sz,",")
ali2=split(strtxt,",")
icount=UBound(ali)
cityid = Request.QueryString("cityid")
if Request.QueryString("cityid") ="" then
cityid="234"
end if
For i=0 To icount
If cityid= ali(i) Then
Newtxt=ali2(i)
End If
Next
End Function
%>
<%
dim cityid,cityname,id
cityid= "234,54,294,2347,653,121"
cityname = "海口,二,三,四,五,六"
id = Request.QueryString("cityid")
if Request.QueryString("cityid") ="" then
id=234
end if
%>
<%
=Newtxt(cityid,cityname,id)
%>
标签:
asp数组使用(2)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
桃源资源网 Design By www.nqtax.com
暂无“asp数组使用(2)”评论...