in reply to array and hash
If you attempted something and it didn't turn out quite right, it is much easier for helpers to read if you use code tags around the actual code. As it is, I'm not sure what you are asking. Maybe you can provide some data and and example of what you have tried so far?