http://sitesbyjoe.com/posts/detail/2...a-foreach-loop