Advertisements
Advertisements
प्रश्न
Write the purpose of Looping Structure in PHP.
टीपा लिहा
Advertisements
उत्तर
- In programming it is often necessary to repeat the same block of code a given number of times, or until a certain condition is met.
- This can be accomplished using looping statements.
shaalaa.com
Looping Structure
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
APPEARS IN
संबंधित प्रश्न
Loops that iterate for fixed number of times is called ______.
for ($ x=0; $ x<5; x++)
echo “Hai”
The above loop executes how many no of times?
What will be displayed in a browser when the following PHP code is executed;
<?php
for ($counter = 10; $counter < 10;
$counter = $counter + 5){
echo “Hello”;
}
?>What is For each loop in PHP?
Write Syntax of For loop in PHP.
Write the features Looping Structure.
Differentiate For each and While loop.
Write short notes on Do while Loop.
Explain Looping Structure in PHP.
Explain working of loops in array.
