网页问题,说我语句未结束?请帮我看看

来源:百度知道 编辑:UC知道 时间:2024/05/31 11:59:41
下面是我网页中的一段代码
<MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=2 scrollDelay=0 direction=up height=200 width="263">
<table width="264" height="176" border="0" cellpadding="0" cellspacing="00">
<%do while not hqrs.eof %> <tr>
<td width="95" valign="top">
<div align="center" class="STYLE7">
<a href="manage/cp_detail.asp?id=<%=hqrs("id")%>" target="_blank" title="<%=hqrs("title")%>">
<%=left(hqrs("title"),8)%></a> </div></td>
<td width="90" valign="top"><div align="center" class="STYLE7">
<% dw=hqrs("dw") if isempty(dw) or isnull(dw) then hqrs("pirce")%>元
<%else hqrs("pirce")%>元/<%=hqrs(&qu

<a href="manage/cp_detail.asp?id=<%=hqrs("id")%>" target="_blank" title="<%=hqrs("title")%>">
<%=left(hqrs("title"),8)%></a> </div></td>
<td width="90" valign="top"><div align="center" class="STYLE7">
<% dw=hqrs("dw") if isempty(dw) or isnull(dw) then hqrs("pirce")%>元
<%else hqrs("pirce")%>元/<%=hqrs("dw")%><%end if%>
好好看看这一段:
第一句中怎么都用双引号?

还有,你的结构是if-then结构还是if-else-endif结构?

头大啊,把出错语句换成以下语句试试看:
if hqrs("dw")=" " or isnull(dw) then hqrs("pirce")