Some help with PHP arrays

Hi,

I need a bit of help with an array. I’m posting quantities through a form and picking it up as an array which when printed looks like this:
Array ( [item1] => 4 [item2] => 1 )

What I want to do is now extract that data and display it as a list similar to:
item1, item1, item1, item1, item2, item2

Any ideas?

Thanks
Phil