<% rs.open "select top 10 * from WebConst order by id desc",conn,3,1 %> <div class="s-contact"> 手机:<%if rs("id")="46" then%><%=rs("ConstValue")%>"><%end if%> </div> <% rs.close %>
<% rs.open "select top 10 * from WebConst order by id desc",conn,3,1 if not rs.eof then %> <div class="s-contact"> 手机:<%if rs("id")="46" then%><%=rs("ConstValue")%>"><%end if%> </div> <% end if rs.close %>