i am using this code:
<html>
<body>
<%
Dim Trick
Dim ID
Dim Skier
Dim Url
Dim Photog
Set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "d:\guess"
Set rs = Server.CreateObject("ADODB.recordset")
sql="SELECT Trick,Url,ID FROM images"
rs.Open sql,conn
%>
<table border="1" width="100%">
<tr>
<%Do Until rs.EOF%>
<%For Each x In rs.Fields%>
<tr><td><a href="/images.asp?ID=<%=rs("ID")%>"><%=rs("Trick")%></a></td>
<%Next
rs.MoveNext%></tr>
<%
Loop
rs.close
conn.close
%> </tr>
</table>
</body>
</html>
its basically a loop to through a db table and show the description of a pic and a link to it. but my prob is that it shows the descrption 3 times..ie:
trick
trick
trick
trick1
trick1
trick1
and so on..so any ideas?