-using 'SELECT *' isn't particularly helpful to others looking at your code
-you're iterating over all of the columns, where does the link come in to this?
Are you storing URLs in your database and wanting them to be displayed as hyperlinks or are you wanting to create hyperlinks that can then query your database?
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!