You can use a recordset to get the relevant information from the database and then use a repeating region to loop through and generate the links.
It looks like you've accomplished this, since you posted a link on your other thread:
showthread.php?t=13965