Home Tutorial Php Phpbeginning PHP FORM Part-9

 
 

Share on Google+Share on Google+
PHP FORM Part-9
Posted on: February 24, 2010 at 12:00 AM
Advertisement
In this part of our tutorial, we will learn about the Do...While loop. Instead of using for or while loop, we can also use do...while loop to move the condition round.

Topic : HTML FORM

Part - 9

In this part of our tutorial, we will learn about the Do...While loop. Instead of using for or while loop, we can also use do...while loop to move the condition round.

The do...while loop is almost similar to the while loop. The only and the biggest difference between the two is the condition that comes at the end of the program. It will execute the statement at least one time either it is true or false. In a normal while loop, the condition could be met before your statement gets executed.  Like this :

do
statement
while (condition)

You do not need to be worry about the do...while. It is used in very rare cases, you should give more attention to the For loop and While loop. These are loops which are most used by the programming world.

This is the end of our this part and in the next part we will learn about the Array.

Advertisement

Related Tags for PHP FORM Part-9:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 24, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com