This post is about the do loop(or do while loop). In the last PHP post we discussed about while loop. The difference between while and do while is the execution of an action. In while loop an execution can take place until the condition is satisfied. If the condition is not satisfied in the start of a while loop , then the execution can’t be take place. But in do while the execution of an action can take place atleast once. Because the do command will execute the action first, then the program will check the condition given in while command.



10:19 AM
The bullet

Posted in:
0 comments:
Post a Comment