|
-
Aug 19th, 2002, 08:02 AM
#1
Thread Starter
Fanatic Member
Count the each element in an array
I have an array and when I display the array, it looks like this:
Group1
Dave
John
Dave
Mike
Mike
Leo
Amos
Brian
Dave
I want to have it displayed like this:
Group1
Dave 3
John 1
Mike 2
Leo 1
Amos 1
Brian 1
Here is my code at the moment to display as in the first example:
<u>Group1</u><br>
<%for i=1 to Var10%>
<%=Var10P(i)%><br>
<%next%>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|