example6.asp:
<%
name=request.form("name")
tel=request.form("tel")
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("example3.mdb")
exec="select * from guestbook where name='"+name+"' and tel="+tel
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("tel")%></td>
<td><%=rs("message")%></td>
<td><%=rs("time")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html>
今天实际上就讲了一个where,大家回去做做试验,把instr()做进去,明天见!
相关
文章安卓 | V3.1.3
简体中文 | 121.6 MB
7.1
安卓 | V1.0.0
简体中文 | 121.6 MB
8.4
安卓 | v1.0.56
简体中文 | 296 MB
9.3
安卓 | V1.0.1
简体中文 | 0 Bytes
7.1
安卓 | v5.0.81
简体中文 | 667.2 MB
9.7
安卓 | V1.0.0
简体中文 | 55.4 MB
7.2
安卓 | V2023178.0.35513
简体中文 | 522.2 MB
9.8
安卓 | V176
简体中文 | 194.3 MB
7.8
本站为非营利性个人网站,本站所有游戏来自于互联网,版权属原著所有。如有侵犯你的版权,请发邮件给wishdown2023@163.com
湘ICP备2021017279号-3 公安部备案号:13092602000101
Copyright©2006-2019 www.wishdown.com All rights reserved