News Feed
Sections




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

HowToForge.com:
Loops In PHP
January 30, 2007 @ 12:26:00

On the HowToForge website, there's a new tutorial that teaches one of the fundamentals of working with PHP (or any language for that matter) - looping.

Let's move towards our today's lecture which is about Loops. There are certain conditions in which you need to execute the same block of code again and again. For example if you want to print ten consecutive equal signs in three lines to make a separator then you could do it with different methods.

The tutorial covers:

  • Basic Concept Of Loops
  • Types Of Loops (for, while, do/while, and foreach)
  • Assignment
  • some Related Articles
Code examples are given for all, and a good overview of working with the loops is given.

0 comments voice your opinion now!
loop tutorial beginner foreach for while loop tutorial beginner foreach for while


blog comments powered by Disqus

Similar Posts

NetTuts.com: Test Code Coverage: From Myth to Reality

PHPBuilder.com: Fundamentals of PHP Superglobals

Brian Swan's Blog: Troubleshooting and Performance Tuning with SQL Server Traces

Sudheer Satyanarayana's Blog: XML RPC Client Using PHP PEAR - A Real World Example: Ping Technorati

C. Sadeesh Kumar's Blog: Smart File Type Detection Using PHP


Community Events





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


install introduction composer update interview podcast laravel community security tool release series language package library opinion voicesoftheelephpant framework version symfony

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