Showing posts with label 5. Loops in PHP. Show all posts
Showing posts with label 5. Loops in PHP. Show all posts

5. Loops in PHP

Loops execute a block of code a specified number of times, or while a specified condition is true.

Loops - While Statement :   
  • The while loop executes a block of code while a condition is true.
  • while (condition)
    {
    code to be executed;
    }
[ Code ] : 
http://pastebin.com/EX7L8f4J

For More loops Click On READ MORE