Previous Code Entry
Left Arrow
How to check if value is NULL
Current Code Entry
Go Back To Code List
[Queries]
ASP Classic - Loop through QueryString and display values in order
Article Entry Date: March 24,2024 @ 01:28:55 / Last Updated On: March 24,2024 @ 01:32:33
I tested many different FOR NEXT Loops, and they all displayed values that were not in order.
I was finally able to find one that does display the values in order.
The below LOOP uses [count], which returns the order in which the items are within the QueryString.
Resource Link Request.QueryString Collection (learn.microsoft.com)«
URL = https://mysite.com/Main.asp?Type=Band&BID=1&BName=KISS

Output: Band/1/KISS
The others I tried would mix up the last two values.