hello,
how do i count the number of values sent accross the form post seperated by commas ?
e..g
43352352,325324452,235234452,24523454
thanks
Afrika
| SitePoint Sponsor |





hello,
how do i count the number of values sent accross the form post seperated by commas ?
e..g
43352352,325324452,235234452,24523454
thanks
Afrika
Last edited by afrika; Mar 11, 2005 at 06:38.
this might help u..
Code:jumvar = 43352352,325324452,235234452,24523454 jumvarsplt = split(jumvar,",") valnum = CInt(ubound(jumvarsplt))





hi Rokc,
thanks a lot
Afrika





Oh by the way, what if the users, didnt type multiple choices, would this script throw an error
e.g how do i differenciate if he typed just 2542542543 or if he typed multiple 2523452,2452452,5245245,4254232
or do i test first to see if a comma exists and how do i achieve this efficiently ?
Bookmarks