News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPFreaks.com:
PHP Loops
June 20, 2008 @ 12:10:18

The PHPFreaks.com website gets back to basics with a new tutorial they've posted - a look at looping in PHP.

Looping is simply a way for you to reduce the amount of code and/or content you have to write out. The idea is that you have something you have to do, or some content you have to show, and instead of just "writing it all out," you find a pattern to it - a common denominator - and let PHP execute the code or generate the content piece by piece using that pattern, based on a condition.

Their example solves the problem of finding taking a range of numbers and seeing how many of them can be evenly divided by another number.

0 comments voice your opinion now!
looping conditional structure tutorial example


blog comments powered by Disqus

Similar Posts

9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP

Community News: PHPBenelux 2013 Tutorial Sessions Announced

The Bakery: 11 New Posts of CakePHP Goodness

NetTuts.com: Refactoring Legacy Code: Part 1 - The Golden Master

The Bakery: Basic User Authentication in (CakePHP) 1.2.x


Community Events





Don't see your event here?
Let us know!


symfony series api community release zendserver package library introduction deployment bugfix unittest interview language framework voicesoftheelephpant install opinion laravel podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework