I have started working with ASP, well since yesterday.. I have been reading all of the pages on ASP at htmlgoodies.com and I have a perty decent grasp on it. Well theres something that I didn't See in his totorials.
I was looking at a page ( http://www.artofwarcentral.com ) there main page is default.asp well thats fine but when you click on the sidebar like say clicking on General Info It adds the ?action=info&cmd=default and it brings up a completely different page. I figure he is useing SSI to link pages to the default.asp But how do I do this?
Because a variable might contain some odd characters like spaces, it's usually a good idea to use Server.URLEncode when creating a querystring from a variable:
<a href="http://www.mysite.com/mypage?id=<%= Server.URLEncode(objRS("MyIDFldFromDB")) %>">objRS("MyIDFldFromDB")</a>
And in the page that is opened you can use Request.QueryString("id") to get the value of id.