<%@language=vbscript%> <% Option Explicit Response.Expires = -1000 Dim rsLinks, strGetLinks Dim rsLinkCats, strGetLinkCats Dim memoFixDesc, rsLinkMemo, strGetLinkMemo %> Vancouver Physiotherapy - Jericho Sports and Orthopaedic Physio Therapy in Vancouver, BC, Canada <% Set rsLinks = Server.CreateObject("ADODB.Recordset") strGetLinks = "SELECT LinkID, LinkText, LinkHref, LinkCategoryID FROM tblLinks GROUP BY LinkCategoryID, LinkText, LinkHref, LinkDesc, LinkID ORDER BY LinkCategoryID" rsLinks.Open strGetLinks, oConn, 3 Set rsLinkCats = Server.CreateObject("ADODB.Recordset") strGetLinkCats = "SELECT DISTINCT (l.LinkCategoryID) AS LinkCategoryID, c.LinkCategory FROM tblLinks AS l INNER JOIN tblLinkCategory AS c ON l.LinkCategoryID = c.LinkCategoryID ORDER BY l.LinkCategoryID" rsLinkCats.Open strGetLinkCats, oConn, 3 %> <% pageName = "links" %>

Links
<% Dim cntHeaders, tempCatID cntHeaders = 0 Do While NOT rsLinkCats.EOF %> <% tempCatID = rsLinkCats("LinkCategoryID") %> <% End If rsLinks.MoveNext Loop rsLinks.MoveFirst %> <% rsLinkCats.MoveNext Loop %>
<% If cntHeaders > 0 Then %>

<% End If %> <%=rsLinkCats("LinkCategory")%>
  • " target="_blank"><%=rsLinks("LinkText")%>
    <%=memoFixDesc%>