Can i make a hyperlink from a table that's ret

Results 1 to 3 of 3

Thread: Can i make a hyperlink from a table that's ret

  1. #1
    Ifred Guest

    Default Can i make a hyperlink from a table that's ret

    in a website that i&#039m designing, i&#039m trying to make a link from a field that it&#039s retrieved from an Access database.The Access database field is text and it&#039s for example www.hotmail.com<BR>I knew how to initiate a hyperlink it form it, but the problem it doesn&#039t go to www.hotmail.com, it takes the whole my website address and to it the new link.For example, if my webisty address is http://www.whatever.com, the link goes to http://www.whatever.com/www.hotmail.com<BR><BR>the code that i used to make the link is &#060;%Response.Write ("&#060;a href="& rs("url")& "&#062;" & rs("url") & "&#060;/a&#062;")%&#062;<BR><BR>rs is the database, and the url is the field name.<BR><BR>Thank you <BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    19,082

    Default RE: Can i make a hyperlink from a table that's

    try this<BR><BR>&#060;%=("&#060;a href=""http://"& rs("url")& """&#062;" & rs("url") & "&#060;/a&#062;")%&#062;<BR>jason

  3. #3
    ifred Guest

    Default RE: Can i make a hyperlink from a table that's

    Thank you very much Jadon, it&#039s working.I really Appreciate it.

Posting Permissions

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