我这样的查询问题出在哪啊? 按搜索出现 该网页无法显示 search.asp <input maxlength="10"> 搜索类型: <SELECT name=stype > <OPTION value="username" selected>姓名</OPTION><OPTION value='lynr'>内容</OPTION><OPTION value='title'>标题</OPTION></select> <input type="submit" value="搜索"> show.asp <!--#include file="conn.asp"-->
<% snr=request("snr") stype=request("stype") Set Rs=conn.execute( "Select * From [liuyan] where "&stype&" like '"&nr&"' Order BY id DESC ") %>
<%=rs("username")%>
[此贴子已经被作者于2005-6-3 15:11:42编辑过]