ASP语句未结束
的有关信息介绍如下:你好,看汪稿了一配带下你发给我的代码,你只要把: <% ss=3 rs.open "select * from admin where id=[id] and "ss" in quan",conn,1,1 if not rs.eof then %> <%else%> <%end if%>这一部份的代码删了,换成: <%set rs=server.createobject("adodb.recordset") rs.open "select * from admin where id="& id,conn,1,1 quanquan=Split(trim(rs("quan")),",") rs.close set rs=nothing For i = LBound(quanquan) To UBound(quanquan) if quanquan(i)=3 then q=true exit for else q=false end if next if q=true then %> <%else%> <困卖孝input name="quan" type="checkbox" id="quan" value="3"> <%end if%>这时问题就解决了,呵呵