请高手帮忙看看!
jtnwl 2008-12-04 08:22:31 我有一个搜索页面
搜索游标 sql="select * from news where name Like '%"& key &"%' and mi=1 order by id desc"
循环显示
<tr>
<td width="500"> <div align="center">新闻标题</div></td>
</tr>
<%
i=0
do while not rs.eof
%>
<tr>
<td height="30"><div align="center"><%=left(rs("bt"),20)%></div></td>
</tr>
我这个循环调用的都是 news 表的内容
我现在想在 搜索的循环表中 显示另一张表 juqing 中的数据怎么做 依据的也是id
就是现在搜索结果是 news表中的数据 我想根据ID 调用另一个表juqing的数据
对不起 分没了 最后60!