求助:关于asp多分支语句的错误
编写了一个asp的关于多分支的例子,结果老是出错……
<!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>
<script language="vbscript">
<style>
<%
dim week,myweek
week=weekday(date)
select case week
case1
myweek="星期日"
case2
myweek="星期一"
case3
myweek="星期二"
case4
myweek="星期三"
case5
myweek="星期四"
case6
myweek="星期五"
case else
myweek="星期六"
end select
%>
</script>
</head>
<%
response.write"今天是:"&date
response.write space(3) & myweek
%>
</script>
<body>
</body>
</html>
在浏览器浏览,出现下面的错误
相关问答:
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
最近我通过学习,感觉自己学的还可以了,想做一网站,但是一直都找不到题材,不知道做什么,希望各位给我点意见,如果有需求文档就更好了!希望大家给我点意见,谢谢!
先做个企业网站吧,我感觉一个人做网站不适宜 ......
请问为什么我这段代码可以显示已修改成功pic文件夹中的图片,但实际上文件夹中的文件名称还是好好的。望高手帮忙改改啊。
<%
Set fs = Server.CreateObject("Scripting.FileSystemObject")
S ......