留言板实现不了功能,程序有错?
<%set conn=server.createobject("ADODB.connection")
conn.open "留言板"
set rs=server.createobject("ADODB.recordset")
sql="select user,qq,email,content,data from 留言板"
rs.open sql,conn,1,1
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
#Layer1 { position:absolute;
left:307px;
top:218px;
width:470px;
height:76px;
z-index:1;
}
-->
</style>
</head>
<body>
<div id="Layer1">
<table width="500" border="0">
<tr>
<td colspan="6">留言人<%=rs("user")%> 留言于 <%=rs("data")%></td>
<td width="52">QQ<%=rs("qq")%> 邮件<%=rs("email")%></td>
</tr>
<tr>
<td width="65">内容:</td>
<td colspan="6"><%=rs("content")%></td>
</tr>
<tr>
<td colspan="7"> </td>
</tr>
</table>
<%
rs.close
conn.close
%>
</div>
</body>
</html>