Advertisements
Advertisements
प्रश्न
Define Looping Structure in PHP.
परिभाषा
टिप्पणी लिखिए
Advertisements
उत्तर
- Looping Structures are useful for writing iteration logics.
- It is the most important feature of many programming languages, including PHP.
- They are implemented using the following categories,
- for Loop
- While Loop
- foreach Loop
- Do While Loop
shaalaa.com
Looping Structure
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Loops that iterate for fixed number of times is called ______.
What will be displayed in a browser when the following PHP code is executed:
<?php
for (Scounter = 20; $counter< 10;
$counter++)
{
echo “Welcome to Tamilnadu “;
}
echo “Counter is: Scounter”;
?>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”;
}
?>PHP supports which types of looping techniques ______.
Compare for loop and for each loop.
Explain the use of for each 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.
