Hvordan ser dit loop ud?
Prøv evt. dette:
If ord <> "" Then
Dim Query, rs, total, Resultat
Query = "SELECT * FROM Links WHERE "
Query = Query & "Title LIKE '%" & ord & "%' OR Description LIKE '%" & ord & "%'"
Query = Query & "ORDER BY Title"
Set rs = Connect.Execute (Query)
While Not rs.EOF
Response.Write "<b><a href=""
http://"& rs("Url") &""" target=""_blank"">"& rs("Title") &"</a></b>"
Response.Write "<br><font color=""#CA7402"">"& rs("Description")
If rs("Favorit") = 2 Then
Response.Write "<nobr><small><font color=""#000099""> |favorit link|<font color=""#CA7402""></small></nobr>"
End If
Response.Write "<br><br>"
rs.MoveNext
Wend
End If
End If