Looping Statements in PHP 5.3

Tuesday Aug 18th 2009 by DatabaseJournal.com Staff

Are looping statements driving you around the bend? Allow Marc Plotz to straighten the road for you.

[From Web Developer's Virtual Library]

Looping statements are the backbone of PHP. I use them on a daily basis and they make things really simple. But I always think back to the days when everything except the WHILE loop looked alien to me and I wonder if anyone else feels the same? Do you wonder what those annoying looking $i variables are doing in that FOR loop? Or what's that funny arrow in the FOREACH loop? It all really is much more simple than you think. Let's have a look.

The article continues at http://wdvl.internet.com/Authoring/PHP/php53/marc_plotz08182009.html

Mobile Site | Full Site