Please help a fairly new user of both VBScript and asp pages:
I have a form on what we'll call page1.htm that brings a variable called name into page2.asp. I then want to take this same variable from the first asp page (page2.asp) to another asp page (page3.asp) to use there as well. This is the code line I'm using to do this:
link = "page3.asp?gradname=" & name
the link variable is then used here:
<a class="ul" href="<%=link%>">Click Here</a>
Now, when I hover over the link created by the "Click Here" html tag, I can see the address the link will take me in the bottom left of my browser screen:
where "mr ed" is the variable (called name) which I entered on page1.htm. So, the value of my variable has at least made it to this point. This code doesn't seem to want to work however, or I believe the variable isn't making it on to page3.asp, and I think this is because the above line has to look like:
(notice added quotes around variable). Not sure how to get these quotes added in so my code will work, please advise. I would also be open to other ways of doing this. Thank You.