Count Items in Querystring?

Results 1 to 2 of 2

Thread: Count Items in Querystring?

  1. #1
    Petre Guest

    Default Count Items in Querystring?

    Is there any way to count the number of items in a querystring passed from the form to the submit page?<BR><BR>for each item in request.querystring<BR>response.write "1"<BR>next<BR><BR>will write a 1 for each record, but how would i add them all up?

  2. #2
    Join Date
    Dec 1969

    Default no comment

    Counter = 0<BR><BR>for each item in request.querystring <BR>Counter = Counter + 1<BR>next <BR><BR>response.write Counter <BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts