in reply to Nested foreach loops

I described and showed an implementation of a card dealing algorithm in Re: Random data generation.. There is no nesting, so it may not be what you want, since I don't know why you need to nest.

Regards,

John Davies