gracias por sus respuestas... entiendo que podria funcionar muy bien con el for... aca les mando mi codigo con el cual estoy leyendo los registros de la BD.
Cita: cont=1
FOTOS = "select * from galeria where idunidad= '"&uni&"' and idcategoria = '"&cate&"'"
set RS2 = Conn.Execute(FOTOS)
Do While Not RS2.Eof
if cont <= 3 Then
ladoizquierdo = RS2("thumb")
RS2.MoveNext
cont=cont+1
If Not RS2.Eof Then
ladoderecho = RS2("thumb")
else
ladoderecho=""
end if
%>
<table border="1" cellpadding="5" cellspacing="3" bordercolor="#999999">
<tr>
<td width="85" height="62" align="center" bgcolor="#CCCCCC"><img src="../galeria/thumb/<% Response.Write(ladoizquierdo) %>"></td>
<td width="85" height="62" align="center" bgcolor="#CCCCCC"><img src="../galeria/thumb/<% Response.Write(ladoderecho) %>"></td>
</tr>
<% end if %>
</table>
<%
RS2.MoveNext
Loop
%>
con este codigo muestro mis fotos de la siguiente forma:
imagen1 imagen 2
imagen3 imagen 4
imagen5 imagen 6 etc....
pero lo que necesito es mostrar:
imagen1 imagen2 imagen3 imagen4
imagen5 imagen6 imagen7 imagen8
imagen9 imagen10 imagen11 imagen12 etc.........
donde tendria que ir el for??? ya o intenté pero no me funciona.
gracias nuevamente