PDA

Click to See Complete Forum and Search --> : Displaying text as hyperlink fron DB. Help


jesus4u
May 4th, 2001, 08:00 AM
When an asp page loads how do I display the text from a DB as a hyperlink to another page?

Please help.

thanks in advance.

monte96
May 4th, 2001, 12:09 PM
Well, assuming your storing the names of pages in the database:

something like this would work:



<A href="<%=rs.fields("url_field")%>"><%=rs.fields("url_desc")%></A>

jesus4u
May 4th, 2001, 01:19 PM
thanks that's all the suggestion I needed. It is what I came up with after all.