Database ID bound to HTML anchor?

Results 1 to 2 of 2

Thread: Database ID bound to HTML anchor?

  1. #1
    Join Date
    Dec 1969

    Default Database ID bound to HTML anchor?

    How can I bind my database fields to HTML anchors (<BR>&#060;a name="anchorname"&#062;<BR>)<BR>and then repeat that region so I get the results from my db with a neat little index?

  2. #2
    J. Paul Schmidt Guest

    Default Show a Field From DB as a Link

    Assuming you have database info in a recordset called objRS, then to have a field be an anchor (link) perhaps do something like the following:<BR><BR>&#060;a href="/mynextpage.asp?&#060;%= "CustNum=" & Server.URLEncode(objRS("CustNum")) %&#062;"&#062;&#060;%= objRS("CustNum") %&#062;&#060;/a&#062;<BR><BR>Best regards,<BR>-Paul<BR><BR>J. Paul Schmidt, MBA<BR>Databases on the Web<BR><BR><BR><BR>

Posting Permissions

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