Write Syntax of Do while loop in PHP.
Advertisements
Question
Write Syntax of Do while loop in PHP.
Short/Brief Note
Advertisements
Solution
do
{
code to be executed;
} while (condition is true);
shaalaa.com
Looping Structure
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Loops that iterate for fixed number of times is called ______.
Which loop evaluates condition expression as Boolean, if it is true, it executes statements and when it is false it will terminate?
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
Define Looping Structure in PHP.
Define for loop in PHP.
Write Syntax of For each loop in PHP.
Compare for loop and for each loop.
Write the purpose of Looping Structure in PHP.
Explain the process Do while loop.
Explain working of loops in array.
