Alt üst 2 dakikalık bi kod lazım ya. Asp olsa gerçekten yapıcamda php bilmiyorum.

<%
db bağlantı
sql
for i=1 to rs.recordcount
%>

<a href="<% rs("link") %>"><% rs("baslik") %></a>

<%
rs.movenext
index of
rs.close
%>

şunun phpsi işte ya.