| 发表于:2007-07-18 15:39:39 楼主 |
汽车品牌: <select name= "brand "> <option> ==请选择== </option> </select> 车类选择: <% dim rs_s set rs_s=server.createobject( "adodb.recordset ") rs_s.open "select * from abrand where kind= ' "&a& " ' ",conn,1,1 %> <select name= "sort " class= "wenbenkuang " id= "sort " onchange= "(document.myform.sort.value=this.options[this.selectedindex].value) "> <option selected> </option> <% while not rs_s.eof %> <option value= " <%=rs_s( "shop ")%> "> <%=rs_s( "shop ")%> </option> <% rs_s.movenext wend rs_s.close set rs_s=nothing %> </select> 我想取brand菜单中的值用在这条语句 "select * from abrand where kind= ' "&a& " ' "中做查询条件。请各位高手指点 |
|
|
|
|