Hi there,
To add to you guys, especially, when the array is an associative array, foreach() does a terrific job:
However, though, it's really up to what you are doing. Like some said, when dealing with database resource, while() + fetch() is a good combination or when you don't want the loop to look at "each" of whatever you're looping, then you shouldn't use foreach().
My little comment. =)