I have 2 pages:
Page1.htm
has a form with 100 checkboxes with various values
user selects any number of them and the page saves the results by cookie
(itemlist=”0,45,62,75,78,99″)
Page2.asp
retrieves the cookie and “mixes” the results of page one… (or would if I could figure it out…. ?
currently I can get the items from the cookie and put it into an array (items[0]=0 ; items[1]=45 ; items[2]=62 ; etc…)
Now, I need to “mix” the items….
currently I have to create about a million if [x] && [i] then statements (item 0 would be mixed with item 0 to create {output1} ; then item 0 would be mixed with item 45 to create {output2}; then item 0 would be mixed with item 62 to create {output3}; etc… to item 99 mixing with item 99 to create {output21}
Is there a way to produce the same outputs without a million {if then} statements? Or do I need to “bite the bullet” and possibly get Carpal Tunnel syndrome as I type it all out?
TIA