Current Time 00:00 Total Time 00:00
We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.
Title: The Do While Loop Category: PHP
Topic: Essential Training Publish Date: 2016-02-15
Author: Mike King
In this tutorial we discuss and demonstrate the do-while loop. Do While loops are very similar to while loops, except the truth expression is checked at the end of each iteration instead of in the beginning. The main difference from regular while loops is that the first iteration of a do-while loop is guaranteed to run (the truth expression is only checked at the end of the iteration). A Do While Loop will always execute the code in the conditional statement at least one time. We demonstrate this in the examples given in the tutorial.