Results 1 to 3 of 3

Thread: Displaying text as hyperlink fron DB. Help

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216

    Unhappy Displaying text as hyperlink fron DB. Help

    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.

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    Well, assuming your storing the names of pages in the database:

    something like this would work:


    Code:
    <A href="<%=rs.fields("url_field")%>"><%=rs.fields("url_desc")%></A>
    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Jan 2001
    Location
    Florida
    Posts
    3,216
    thanks that's all the suggestion I needed. It is what I came up with after all.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width