serch.asp

来自「使用源码注意项: 1、Windows2000 Professional SP3、」· ASP 代码 · 共 31 行

ASP
31
字号
<!--#include file="conn.asp"-->
<%
name=request.form("name")
tel=request.form("ym")
exec="select * from sa where name='"+name+"' and tel="+ym
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head> 
<body bgcolor="#FFFFFF" text="#000000"> 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
do while not rs.eof
%><tr>
<td><%=rs("name")%></td>
<td><%=rs("ym")%></td>
<td><%=rs("fec_t")%></td>
<td><%=rs("fec_u")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html> 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?