永发信息网

关于asp商品排列问题

答案:1  悬赏:0  手机版
解决时间 2021-07-24 17:03
  • 提问者网友:战皆罪
  • 2021-07-24 04:09

<%
response.write "<table border='0' width='100%' cellspacing='0' cellpadding='0' id='table'><tr>"
set rs1=server.createobject("adodb.recordset")
sql="select * from danzi where lei_id ="&id
rs1.open sql,conn,1,3
if rs1.eof then
response.write "<td></td>"
else
i=0
do while not rs1.eof
response.write "<td><table width='200' border='0' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td height='84' align='left' valign='top'><table width='80' height='80' border='1' align='center' cellpadding='0' cellspacing='0' bordercolor='#CCCCCC' >
<tr>
<td height='80' align='left' valign='top'>"&rs1("tupian")&"<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='#ffffff'>
</table></td>
</tr>
</table>
<table width='100%' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='#ffffff'>
</table></td>
</tr>
<tr>
<td height='18' align='left' valign='top'>"&rs1("title")&"</td>
</tr>
<tr>
<td height='60' align='left' valign='top'>¥<span class='STYLE1'>"&rs1("Price")&".0元</span></td>
</tr>
</table></td>"
i=i+1
j=i mod 4
if j=0 then
response.write "</tr><tr>"
end if
rs1.movenext
loop
end if
rs1.close
set rs1=nothing
response.write "</tr></table>"
%>

显示

Microsoft VBScript 编译器错误 '800a0409'

未结束的字符串常量

\wwwroot\1\taobao.asp, line 478

请问是怎么回事?

最佳答案
  • 五星知识达人网友:佘樂
  • 2021-07-24 04:59

呵呵 少东西了吧



response.write "<td><table width='200' border='0' align='center' cellpadding='0' cellspacing='0'>"



不运行骂我

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯