I have 9 gif images (1,2,3,4,5,10,20,50,100).
i have a profile section on my website. At work a bunch of us play basketball. and i wanted to keep track of each persons wins.
Using asp and a access database where i could just add a field to their profile...I want to do the following
Say "joe" has 139 wins...instead of displaying 139 i want to display a combination if the 9 images above (each image is different colored basketballs- 1-4 are clusters of the same color, 5,10,20,50 and 100 are individual basketballs of different colors)
So then 139 would then display as
100,20,10,5,4 -adding up to 139
Does anyone know the algorithm fo doing something like this, or even an asp code snippet.
thanks
Keith