| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 936 人关注过本帖
标题:这样写怎么会出错的呢
只看楼主 加入收藏
lele2007
Rank: 5Rank: 5
来 自:广东省深圳
等 级:职业侠客
威 望:6
帖 子:1028
专家分:305
注 册:2007-9-4
结帖率:100%
收藏
 问题点数:0 回复次数:3 
这样写怎么会出错的呢
<%if time >=#6:00:00# and time<=#11:29:00# then%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%elseif time >=#11:30:00# and time<=#14:30:00# then%>
<%=<!-- #include file="inc/lele_2.asp"-->%>
<%elseif time >=#14:31:00# and time<=#17:59:00# then%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%elseif time >=#18:00:00# and time<=#22:00:00# then%>
<%=<!-- #include file="inc/lele_2.asp"-->%>
<%else%>
<%=<!-- #include file="inc/lele_1.asp"-->%>
<%end if%>
--------------------------
请问一下这样写出错在哪里呢?
搜索更多相关主题的帖子: time include lele file 
2008-02-18 17:00
lele2007
Rank: 5Rank: 5
来 自:广东省深圳
等 级:职业侠客
威 望:6
帖 子:1028
专家分:305
注 册:2007-9-4
收藏
得分:0 
<%if time >=#6:00:00# and time<=#11:29:00# then%>
<!-- #include file="inc/lele_1.asp"-->
<%elseif time >=#11:30:00# and time<=#14:30:00# then%>
<!-- #include file="inc/lele_2.asp"-->
<%elseif time >=#14:31:00# and time<=#17:59:00# then%>
<!-- #include file="inc/lele_1.asp"-->
<%elseif time >=#18:00:00# and time<=#22:00:00# then%>
<!-- #include file="inc/lele_2.asp"-->
<%else%>
<!-- #include file="inc/lele_1.asp"-->
<%end if%>
----------------------------------------------------
自己晕自己了,晕晕!

学习编程www.
2008-02-18 19:05
willam
Rank: 1
等 级:新手上路
帖 子:237
专家分:0
注 册:2007-7-13
收藏
得分:0 
请问是你 还是asp的啊,,
我看是asp的哦
不过问题还是你自己解决了
2008-02-20 11:48
lele2007
Rank: 5Rank: 5
来 自:广东省深圳
等 级:职业侠客
威 望:6
帖 子:1028
专家分:305
注 册:2007-9-4
收藏
得分:0 
呵呵,是呀,是ASP的.[bc10] 哟,论坛的表情换了.呵呵

学习编程www.
2008-02-21 11:50
快速回复:这样写怎么会出错的呢
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.019504 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved