Define Looping Structure in PHP.
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
संबंधित प्रश्न
The loop exclusively used for arrays is _____.
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.
Write the features Looping Structure.
Write the purpose of Looping Structure in PHP.
Differentiate For each and While loop.
Write short notes on Do while Loop.
Explain concepts of for loop with example.
