注册 登录
编程论坛 ASP技术论坛

求大神帮忙看一段代码 看看怎么改

tdd 发布于 2013-11-30 09:35, 479 次点击
<div class="gaojiansearch">
<table border="0" align="center" cellpadding="2" cellspacing="0">
<form id="gaojian_search" name="gaojian_search" method="post" action="<%=rootpath%>panduan/panduan.asp">
  <tr>
      <td width="187"><input type="text" name="name" id="name" /></td>
      <td width="163">
      <label>
      <input type="radio" name="RadioGroup1" value="期刊" id="RadioGroup1_0" />
      期刊</label>
      
      <%
            set rss = conn.execute("select * from [mod_news] where title = 'name'")
            do while not rss.eof
            %>
      
     
    <label>
      <input type="radio" name="RadioGroup1" value="稿件" id="RadioGroup1_1" />
      稿件</label>
      <%
            set rss = conn.execute("select * from [mod_gaojian] where title = 'name'")
            do while not rss.eof
            %>
      </td>
      <td>
      <input type="image" src="<%=rootpath%>gaojian/plus/gaojiansearch/images/search5.gif" name="sbt" />
      </td>
    </tr>
   
  <tr>
   
    </tr>
  </form>
</table>
</div>
1 回复
#2
tdd2013-11-30 09:36
这是一段搜索的代码   单选按钮   按两个表的title进行搜索
1