intrec=0
col = 2
response.write "<table border=0 cellpadding=0 cellspacing=8 width=750 align=center>"
Do While not RS.EOF
conta = intrec mod col
if conta = 0 Then
response.write "<tr><td width=250>"
else
response.write "<td width=250>"
end if
response.write "<img src=" & RS("foto") & " width=100 height=100><br>" & RS("credito") & " - " & RS("legenda") & "<BR><BR>"
if conta = (col - 1) then
response.Write "</td></tr>"
else
response.write "</td>"
end if
RS.MoveNext
intrec=intrec+1
Loop
Pergunta
Marcos-rj
intrec=0 col = 2 response.write "<table border=0 cellpadding=0 cellspacing=8 width=750 align=center>" Do While not RS.EOF conta = intrec mod col if conta = 0 Then response.write "<tr><td width=250>" else response.write "<td width=250>" end if response.write "<img src=" & RS("foto") & " width=100 height=100><br>" & RS("credito") & " - " & RS("legenda") & "<BR><BR>" if conta = (col - 1) then response.Write "</td></tr>" else response.write "</td>" end if RS.MoveNext intrec=intrec+1 LoopLink para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.