I don't have any formal training in programming but thanks to all the concrete help I have gotten here over the past several months, I've been able to do a lot of really neat, useful stuff at work with PHP & MySQL.
The more code I write, the more "abstract" questions are beginning to occur to me. Here's one that probably belongs in this section.
Sometimes I have been advised to write "while" loops, and at other times, "for" loops.
They seem very similar to me. What would be some fundamental reasons to use one over the other?