<% on error resume next
dim shop_id
shop_id=trim(request.form(shop_id))
set rs=server.createobject("adodb.recordset")
sql="select * from order where shop_id ='%"+shop_id+"%'"
rs.open sql,conn,1,1
if rs.eof then
response.write("<script language=javascript>alert('没有符合您要的信息,请确认订单编号输入是否正确!');history.go(-1)</script>")
else
%>
<tr>
<td height="40" align="center"><%=rs("shop_id")%></td>
<td height="40" align="center"><%=rs("name")%></td>
<td height="40" align="center"><%=rs("tel")%></td>
<td height="40" align="center"><%=rs("number")%></td>
<td height="40" align="center"><%=rs("title")%></td>
<td height="40" align="center"><%=rs("mobile")%></td>
<%end if%>
[此贴子已经被作者于2007-8-28 20:43:39编辑过]