For, While Loops CODE
The for loop is used when you know in advance how many times the script should run. Syntax
for (init counter; test counter; increment counter) {
  code to be executed for each iteration;
}

The PHP while Loop

The while loop executes a block of code as long as the specified condition is true.

Syntax
while (condition is true) {
code to be executed;
}
`
by Gigi Butchvelashvili
2 years ago
PHP
-1
Pro tip: use ```triple backticks around text``` to write in code fences
0
Valeri Tandilashvili 2 years ago
for
-ს ერთი ფეხი გარეთ დარჩა
REPLY