this is just a simple example of a simple for loop its the most common way to use the for loop for programming like php and other languages like javascript

for($i=0; $i<= 10; $i++) {
print("counter is $i<br>n");
}