intPage = Request("page") If isNumeric(intPage) = False Or intPage < 1 Then intPage = 1 End If %> <font size="2" face="Tahoma">Side <b><%Response.Write "" & intPage & ""%></b><br><br> </td> </tr> </table> </td> <td valign="top"> <p align="justify"><b><font face="Tahoma">POLETTER <%=request.querystring("alfa")%></font></b><font face="Tahoma"><b> </b></font></p>
<%if Request.QueryString("poletter") = "" then%>
<% Set Rs = Server.CreateObject("ADODB.Connection") DBPath = "DBQ=" & server.mappath("db/jittytre.mdb") Rs.Open "DRIVER={Microsoft Access Driver (*.mdb)}; " & DBPath Sql = "Select count(*) as Found from tabel" Set Record = Rs.Execute(Sql)
intPage = Request("page") If isNumeric(intPage) = False Or intPage < 1 Then intPage = 1 End If %> <%Set record = Server.CreateObject("ADODB.RecordSet") Sql3 = "SELECT * FROM tabel ORDER BY forside ASC" record.Open Sql3,Conn3,1 %> <%
str_sql2 = "SELECT * FROM tabel" If Len(str_alfa) < 1 Then str_alfa = "0123456789ABCDEFGHIJKLMNOPQRSTUVWYZÆØÅabcdefghijklmnopqstuuvwxyzæøå" End if str_sql2 = str_sql2 & " WHERE (" for i = 1 to Len(str_alfa) If i <> 1 Then str_sql2 = str_sql2 & " OR" End If str_sql2 = str_sql2 & " forside LIKE '" & Mid(str_alfa,i,1) & "%'" next %>
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.