News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

Developer Tutorials Blog: Debugging PHP with Firebug and FirePHP

Sebastian Bergmann's Blog: Map and Reduce in PHP

Hasin Hayder's Blog: WorldTimeEngine - How about making your own in PHP?

IBuildings Blog: Multithreading in PHP with CURL

DevShed: Developing a Form Validation System with the Observer Pattern in PHP


Community Events









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


security application PEAR book ajax cakephp example mysql database PHP5 developer framework package conference code releases zendframework release zend job

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