[eluser]asppp[/eluser]
Well, the users are just choosing which sizes they have, not buying anything. The company I built this for wanted it like that.
So what I want to display is how many of the users that have Medium in shirts, and so on.
Thanks for the replies! Have been working with other stuff and gonna try it now
Edit: Oh, didn't read through the replies quite much. To explain more thorough I will show you the table structure:
ID: Tshirts: Shirts: Hoodies;
1 M M XL
2 S S M
3 M L L
4 XL L XL
Like that. So the table displays which sizes each user have, and I want to count each size that is "equal".
So what I want to display is:
T-shirts
----------
Small: 1
Medium: 2
Large: 0
X-large: 1
I think you understand now
Is that possible?