新手写的留言板,无法浏览,求看看哪里错了
我按照教程来的,怎么说是错误,只写到前半部分这是index.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<!--#include file="conn.asp"-->
<%
set fs=server.createobject("adodb.recordset")
sql="select user,qq,email,content,data from main order by id desc"
fs.open sql,conn,1,1
%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>留言版</title>
</head>
<body>
<table width="669" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2"><font color="#0066CC" face="Trebuchet MS, Arial, Helvetica, sans-serif">"<%=rs("user")%>"</font> 留言于 "<%rs=("data")%>"</td>
<td width="101"><div align="center"><a href="http://search.("qq")%>">QQ</a><a href="mailto:<%=rs("email")%>"> 邮件</a></div></td>
</tr>
<tr>
<td width="137"><font color="#FF0000">内容:</font></td>
<td colspan="2">"<%rs=("content")%>"</td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td width="137"></td>
<td width="431"><a href="add.asp">填写留言</a></td>
<td width="101"><a href="admin.asp">管理留言</a></td>
</tr>
</table>
</body>
</html>
这是conn.asp
<%
set conn=server.createobject("adodb.connection")
connstr="Provider=Microsoft.ace.oledb.12.0;Data source="&server.MapPath("data.accdb")
conn.open connstr
%>
老是无法浏览,求高手给看看啊