帮忙找个简单的错误:)

lovever 2005-05-23 10:40:19


<%@LANGUAGE="JScript"%>
<html>
<!-- #include file="tools.js" -->
<%
var nn,ss,conn;
conn = Server.CreateObject("ADODB.Connection");
conn.Open("BB");
ss="select title,editor,source,tdatetime,content from moon where ID="+request.querystring("id");
nn = executeSQL(ss);//tools.js里的函数
%>
<tr>
<td><%=nn("title")%></td>
<td><%=nn("editor")%></td>
<td><%=nn("source")%></td>
<td><%=nn("tdatetime")%></td>
<td><%=nn("content")%></td>
</tr>
<%
nn.close;
%>
</html>
谁能帮我找到这个哪里出错了?为什么就是不能执行
...全文
59 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
lovever 2005-05-28
  • 打赏
  • 举报
回复
找到了.那个不是主要错误
最主要的是函数大小写问题
lovever 2005-05-28
  • 打赏
  • 举报
回复
找到了.那个不是主要错误
最主要的是函数大小写问题
bjvv 2005-05-24
  • 打赏
  • 举报
回复
<%@LANGUAGE="JScript"%>
<html>
<!-- #include file="tools.js" -->
<%
var nn,ss,conn;
conn = Server.CreateObject("ADODB.Connection");
conn.Open("BB");
ss="select title,editor,source,tdatetime,content from moon where ID="+request.querystring("id");
nn = executeSQL(ss);//tools.js里的函数
%>
</table>
<tr>
<td><%=nn("title")%></td>
<td><%=nn("editor")%></td>
<td><%=nn("source")%></td>
<td><%=nn("tdatetime")%></td>
<td><%=nn("content")%></td>
</tr>
</table>
<%
nn.close;
%>
</html>


你没加 table 啊
CrisZc 2005-05-24
  • 打赏
  • 举报
回复
同上 没加 table


<%@LANGUAGE="JScript"%>
<html>
<!-- #include file="tools.js" -->
<%
var nn,ss,conn;
conn = Server.CreateObject("ADODB.Connection");
conn.Open("BB");
ss="select title,editor,source,tdatetime,content from moon where ID="+request.querystring("id");
nn = executeSQL(ss);//tools.js里的函数
%>
<table> //////////////////////////////////////////////////////////
<tr>
<td><%=nn("title")%></td>
<td><%=nn("editor")%></td>
<td><%=nn("source")%></td>
<td><%=nn("tdatetime")%></td>
<td><%=nn("content")%></td>
</tr>
</table>/////////////////////////////////////////////////////
<%
nn.close;
%>
</html>

87,916

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧