PC / Mobil <% sql = "Select top 2 * from links Where catagory = 'PC / Mobil' order by count desc%> set links = objConn.Execute(strSQL) <%=links.Fields("link")%>
PC / Mobil <% sql = "Select top 2 * from links Where catagory = 'hjemmesider' %order by count desc> set links = objConn.Execute(strSQL) <%=links.Fields("link")%>
PC / Mobil <% sql = "Select top 2 * from links Where catagory = 'PC / Mobil' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop %>
PC / Mobil <% sql = "Select top 2 * from links Where catagory = 'hjemmesider' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop
PC / Mobil <% strSQL = "Select top 2 * from links Where catagory = 'PC / Mobil' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop %>
PC / Mobil <% strSQL = "Select top 2 * from links Where catagory = 'hjemmesider' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop
Jeg får samme fejl - jeg har rettet lidt i koden: <% Set Conn = Server.CreateObject("ADODB.Connection") DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; " DSN = DSN & "DBQ=" & Server.MapPath("../../DB/database.mdb") Conn.Open DSN %>
Diverse<br> <% strSQL = "Select top 2 * from links Where catagory = 'Diverse' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop %>
Hjemmeside<br> <% strSQL = "Select top 2 * from links Where catagory = 'hjemmeside' order by count desc" set links = objConn.Execute(strSQL) do while not rs.eof Response.Write links.Fields("link") & "<br>" links.MoveNext loop
Diverse<br> <% strSQL = "Select top 2 * from links Where catagory = 'Diverse' order by count desc" set links = Conn.Execute(strSQL) do while not rs.eof Response.Write links("link") & "<br>" links.MoveNext loop %>
Hjemmeside<br> <% strSQL = "Select top 2 * from links Where catagory = 'hjemmeside' order by count desc" set links = Conn.Execute(strSQL) do while not rs.eof Response.Write links("link") & "<br>" links.MoveNext loop
Diverse<br> <% strSQL = "Select top 2 * from links Where catagory = 'Diverse' order by count desc" set links = Conn.Execute(strSQL) do while not links.eof Response.Write links("link") & "<br>" links.MoveNext loop %>
Hjemmeside<br> <% strSQL = "Select top 2 * from links Where catagory = 'hjemmeside' order by count desc" set links = Conn.Execute(strSQL) do while not links.eof Response.Write links("link") & "<br>" links.MoveNext loop
Diverse<br> <% strSQL = "Select top 2 * from links Where catagory = 'Diverse' order by [count] desc" set links = Conn.Execute(strSQL) do while not links.eof Response.Write links("link") & "<br>" links.MoveNext loop %>
Hjemmeside<br> <% strSQL = "Select top 2 * from links Where catagory = 'hjemmeside' order by [count] desc" set links = Conn.Execute(strSQL) do while not links.eof Response.Write links("link") & "<br>" links.MoveNext loop
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.