Hi all.
I have been trying to find an answer on this through google, but nothing seems to be showing up.
What I have is some records being displayed in a table, and at the top are some links that will order the results by date, author etc. I have the ORDER BY statement setup so that it is looking at the URL for the value.
The problem is that the two pieces of information I need to pass through the URL is the order (which I can do by having page,asp?Order=Author), and the current page that the user is on so that it knows where to go after clicking the link. The problem is that I have the current page location setup as a variable (well, more or less it tells the database what table to get), but I don’t know how to pass that to the URL. If I type 'page,asp?Order=Author&Cat=nID' (nID being the variable which defines which table to show) then it will pass the words nID to the new page. I need to get the VALUE of nID so that the url will look like 'page,asp?Order=Author&Cat=1'. In coldfusion you used to put it something like 'age,asp?Order=Author&Cat=#nID#' so that the page knew it was a value instead, but I have no idea how to do this with ASP.
Sorry for the long and confusing explanation. If someone can help me with this, I would appreciate it very much 
|