Results 1 to 4 of 4

Thread: Linkproblems

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84

    Linkproblems

    My problem is that I want to read from a file and print the thing that has been readen like a link.

    <a href="page.asp" target="site"><%=rs("alias")%></a>

    Now I want the page to see what link that has been clicked on, what rs("alias") is. Can this be done or can I write a line like this:

    for i=1 to 4
    <a href="page.asp" target="site" name=i><%rs("alias")%></a>
    next

    where i is a number that raises every time I write the line

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    You want to pass page.asp variables?

    Then you would do:

    Code:
     
    Do Until rs.EOF 
       <a href="page.asp?alias=" <%rs("alias")%> target="site" name=i><%rs("alias")%></a> 
       rs.MoveNext 
    Loop
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Posts
    84
    Thank you !!


  4. #4
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    No problem
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

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