Looping through an array?

Can you post your final code example please