I have this code
which loops thru just fine, but when there is nothing in the recordset, it still shows the hardcoded text, including the link on the word here. What am I missing here, can anybody out there give me a hand?
Thanks,
WB
Code:
<% Do while not (rs.eof or rs.bof)
dim conid : conid = rs("contact_id")%>
<li><a href="[URL unfurl="true"]https://mylink.org/register/ministry.asp"[/URL] onclick="setCookie('contact_id','<%=conid%>')"><%=rs("name_first") %> <%=rs("name_last") %></a> <%=rs("position") %> <%=rs("email") %> <%=rs("cell_phone") %> <%=rs("work_phone")%> If this information is incorrect, then you can edit your info <a href="editcontact.asp?conid=<%=conid %>">here</a>.</li>
<%rs.MoveNext
Loop %>
Thanks,
WB