标题:问下,如何传送一个变量值?
只看楼主
jinbowen
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-11-5
 问题点数:0 回复次数:4 
问下,如何传送一个变量值?

商 品 快 速 查 询

选择城市: <% set rs=conn.execute("select * from china_city_sp where id>0 and twoid>0 and threeid=0") %>
程序代码:
<SCRIPT language=JavaScript>
var onecount; onecount=0; subcat = new Array(); <% dim count:count = 0 do while not rs.eof %> subcat[<%=count%>] = new Array(\"<%=rs(\"city\")%>\",\"<%=rs(\"id\")%>\",\"<%=rs(\"twoid\")%>\"); <% count = count + 1 rs.movenext loop rs.close set rs=nothing %> onecount=<%=count%>; <% set rs=conn.execute(\"select * from china_city_sp where id>0 and twoid>0 and threeid>0\") %> *
商品类别: <% set rs=conn.execute(\"select * from china_type_sp where id>0 and twoid>0 and threeid=0\") %> <% set rs=conn.execute(\"select * from china_type_sp where id>0 and twoid>0 and threeid>0\") %>
2007-11-05 16:12
gurrby
Rank: 1
等 级:新手上路
帖 子:11
专家分:0
注 册:2007-11-5
得分:0 
hao nan
2007-11-05 16:26
jinbowen
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2007-11-5
得分:0 
我晕,,那换种思路呢
假如,选择城市和选择分类赋予一个变量,
然后用url?aa=城市变量&bb=分类变量
这个变量该如何提取?
2007-11-05 16:34
wanderful
Rank: 1
等 级:新手上路
帖 子:25
专家分:0
注 册:2007-11-4
得分:0 
看不懂
2007-11-05 17:34
巨灵小魔
Rank: 1
等 级:新手上路
帖 子:12
专家分:0
注 册:2007-11-5
得分:0 
好长啊
2007-11-05 18:02
  • 5
  • 1/1页
  • 1



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-183660-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.237215 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved