Home | Advertising Info158 USERS CURRENTLY ONLINE   
   Site Search Contact Us Tuesday, November 21, 2017  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Count the number of values in an array string???
From: Carlos
Date: 11/4/2002 2:36:54 PM


I am trying to figure out how to count the number of values in an array string so that I can in turn define and set a session value for each individual value. The string is submitted to an ASP page from a form value with the <Multiple Select> method:

The results are declared as: (2500,2501,2502,2503,2504)
so MultiSelect() = (2500,2501,2502,2503,2504)

I want to find the count and then set each variable to a session variable like:
Count(MultiSelect()) = 5 'for the five variables in the string
session("MultiSelect1") = 2500 'for the first value in the string
session("MultiSelect2") = 2501 'for the second value in the string
session("MultiSelect3") = 2502 'for the third value in the string
session("MultiSelect4") = 2503 'for the fourth value in the string
session("MultiSelect5") = 2504 'for the fifth value in the string

Follow Up - Re: Count the number of values in an array string??? - jason pinhut 12/25/2002 10:53:30 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2017 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com