linking

Discussion in 'Web Design & Coding' started by gmagnuson, Aug 18, 2002.

  1. gmagnuson

    gmagnuson Guest

    Our website uses asp scripting and a database. I was wondering how to create a link on the home page to another page in the database. The website assignes a ID to each page, but I do not know what the direct address or how to figure out what the direct address is. Thank You.
     
  2. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    What? You decide what the code does in your ASP page, right? What do you mean by "another page in the database"? Another table?

    I suggest:
    <A HREF="page_name.asp?page_id=x">Text</A>
    where x is the id you want. The pick up the page_id in the code and display the appropriate data.

    Or am I getting this all wrong?