Hello I have a problem writing same record two time into loop cycle. I take recordset from mysql with this code:
strconn = MM_connGest_STRING
set conn = Server.CreateObject("ADODB.Connection")
Conn.Open strconn
SQL = "SELECT * FROM AMOR_DOC JOIN AMOR_REGIONI ON AMOR_REGIONI.ID_REG = AMOR_DOC.REGIONE WHERE REGIONE = '"&Request.QueryString("REGIONE")&"' ORDER BY TIPO ASC"
Set regionali = conn.Execute(SQL)
and then I would loop result so:
<% while not regionali.EOF %>
<h4 class="list-group-item-heading"><%=(regionali("NOME"))%></h4>
<p class="list-group-item-text"><% if regionali("ZONE") <> "" then%><span><b>Zone:</b> <%=regionali("ZONE")%><br><% end if %></p>
<% regionali.movenext()
wend %>
But the problem is that if I write two time same value, for example regionali("ZONE"), it show me only one time! Where is my problem?