Microsoft VBScript 编译器错误 '800a03ea'
Microsoft VBScript 编译器错误 '800a03ea'
语法错误
\\save.asp, line 24
代码如下:
<!-- #include file="conn.asp" -->
<html>
</head>
<%
name=request("name")
address=request("易做图")
email=request("know")
title=request("major")
comment=request.form("address")
comment=replace(resource,"<","<")
name=replace(name,"<","<")
address=replace(address,"<","<")
email=replace(email,"<","<")
title=replace(title,"<","<")
fortime=formatdatetime(time,4)
datenow=year(now())&"-"&month(now())&"-"&day(now())&" "&fortime
conn.execute(sql)
response.write "<font size=+2 color=red><br><br><center><b>报名成功!</b></font><br><br><a href=JavaScript:history.back();>请返回</a></center>"
conn.close
else
response.write "<font size=+2 color=red><br><br><br><center>没有填写完整!<a href=JavaScript:history.back();>请返回</a></center></font>"
end if
%>
</body>
</html>
成功帮忙解决问题后,保证加分。
答案:<%
name=request("name")
address=request("易做图")
email=request("know")
title=request("major")
comment=request.form("address")
comment=replace(resource,"<","<")
name=replace(name,"<","<")
address=replace(address,"<","<")
email=replace(email,"<","<")
title=replace(title,"<","<")
fortime=formatdatetime(time,4)
datenow=year(now())&"-"&month(now())&"-"&day(now())&" "&fortime
conn.execute(sql)
If Err.Number = 0 Then
response.write "<font size=+2 color=red><br><br><center><b>报名成功!</b></font><br><br><a href=> conn.close
else
response.write "<font size=+2 color=red><br><br><br><center>没有填写完整!<a href=> end if
%>
上一个:推荐几本初级到高级的书包括 Java/Python/C# 三种语言 HTML/Javascript/CSS ,以及各种编程,不要傻瓜式的,最好是从初级到高级,hei客红客也来
下一个:我想学java 毕业搞这混……需要学哪些啊 不可能只学JAVA吧 !数据库?、HTML?JavaScript ,JSP?PL/SQL 语言??