🐘PHP PlanetLOOP LAB
Task 1 / 3

🐘 Loop Lab

A loop repeats code again and again. Set how many times it runs and what it prints — watch the page build itself!
🐘 Ellie the PHP Elephant says:
A loop saves you from writing the same line over and over. Use the + / − buttons to set how many times it runs, pick what to echo, and watch the webpage fill up live. Match the goal to win!
🐘
Set the loop to make the goal!
3times

echo (what to print each time)

myloop.ph
🏆
⭐⭐⭐

Loop Master! 🐘

🧠 What you learned: a loop repeats code as many times as you set — so PHP can build a long list (like 100 blog posts!) without you writing each line. Change the count and watch the output grow. That's the power of loops! 🐘
🎮 Digital Kids PH • PHP Planet← Back to PHP Planet