缺少标识符怎么改?各位大虾帮忙!

无法显示网页
试图访问的网页出现问题,无法显示。

--------------------------------------------------------------------------------

请尝试执行下列操作:

单击刷新按钮,或稍后重试。

打开 127.0.0.1 主页,然后查找与所需信息相关的链接。
HTTP 错误 500.100 - 内部服务器错误 - ASP 错误
Internet 信息服务

--------------------------------------------------------------------------------

技术信息(用于支持人员)

错误类型:
Microsoft VBScript 编译器错误 (0x800A03F2)
缺少标识符
/aspweb/aboard.asp, line 40, column 3
Dim
--^

浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler ; .NET CLR 2.0.50727)

网页:
GET /aspweb/aboard.asp

时间:
2005年12月7日, 15:56:26

详细信息:
Microsoft 支持

代码如下:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>留言信息确认页</title>
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
color: #006600;
}
body {
background-image: url(20079799843.jpg);
background-repeat: repeat;
}
.STYLE1 {font-size: 24px}
.STYLE2 {
font-family: "新宋体";
font-size: 14px;
font-weight: bold;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
-->
</style></head>

<body>
<%
Dim
username,usersex,userastro,usermessage,useremail
username=request("name")
usersex=request("sex")
userastor=request("astro")
usermessage=request("message")
useremail=request("email")
%>
<div align="center">
<h1 class="STYLE1">风过留声 </h1>
<table width="400" border="1" cellspacing="0" cellpadding="0">
<tr>
<td width="94" height="202" background="bg.gif"> </td>
<td width="300"><table width="300" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">感谢<%= username %>的留言</div></td>
</tr>
<tr>
<td>姓名:<%= username %> </td>
</tr>
<tr>
<td>性别:<%= usersex %></td>
</tr>
<tr>
<td>星座:<%= userastro %></td>
</tr>
<tr>
<td height="30">E-MAIL:<%= useremail %></td>
</tr>
<tr>
<td height="44">留言内容:<%= usermessage %></td>
</tr>
<tr>
<td height="18"><div align="right">
<p class="STYLE2"><a href="aboard.asp">返回留言薄</a></p>
</div></td>
</tr>

</table></td>
</tr>
</table>
</div>
<p> </p>
</body>

</html>

Dim和下边的变量这样写,也就是Dim后边紧跟着变量, 不要换行.

Dim username,usersex,userastro,usermessage,useremail
温馨提示:答案为网友推荐,仅供参考

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网