简单的ASP问题 帮看下

wukaitoumai 2009-02-24 02:06:59
我的代码
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "SELECT * From PicModel",conn,1,1
ar_a = split(rs("TagWidth"),"|" '这行错误
ar_b = split(rs("TagHeight"),"|"
ar_c = split(rs("TagTop"),"|"
ar_d = split(rs("TagLeft"),"|"
max_id = ubound(ar_a)
if max_id < ubound(ar_b) then max_id = ubound(ar_b)
if max_id < ubound(ar_c) then max_id = ubound(ar_c)
if max_id < ubound(ar_d) then max_id = ubound(ar_d)
for i=0 to max_id
if i > ubound(ubound(ar_a)) then response.write ar_a(i)
if i > ubound(ubound(ar_b)) then response.write ar_b(i)
if i > ubound(ubound(ar_c)) then response.write ar_c(i)
if i > ubound(ubound(ar_d)) then response.write ar_d(i)
next
%>

提示错误

语法错误
/www/index.asp, line 76, column 33
ar_a = split(rs("TagWidth"),"|" &
--------------------------------^
...全文
44 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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