<% call abre_conectar nome=request.Form("nome") titulo=request.Form("titulo") noticia=request.Form("noticia") autor=request.Form("autor") autonum = Request.QueryString("autonum") sql = "Select * from contato " set tab = cnn.execute(sql) %> <% while not tab.EOF %>
<% n = 1 c = 5 'c, é aqui que você controla o numero de colunas Do while not tab.Eof %> <% n = n + 1 tab.Movenext If n > c then response.write "" n = 1 End If Loop %>
"onClick= "NewWindow(this.href,'name','200','300','yes');return false"><%=tab("titulo")%>|
<% wend %> <% call fecha_conectar set tab = nothing %>