Results 1 to 2 of 2
  1. #1
    kennyritch
    Guest

    Converting text within a DB field to a Hyperlink

    Hi All

    Is it possible for me to search a DB field for a string and then convert that string to a web link using VBScript in conjunction with my ASP page?

    The field will vary in length and may or may not contain a web address. The web address will vary in length but will always start with http://. Can I search for http://, strip out the address, turn it into a hyperlink and then output the entire contents of the field with the hyperlink appearing within the text?

    Cheers for any help,
    Kenny.

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Cornwall, England
    Posts
    393
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Converting text within a DB field to a Hyperlink

    kenny, try something along these lines

    response.write ("LinkToDisplay")

Posting Permissions

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