0
Instruction: Which of the following is the correct syntax for a while statement? Then, provide your stand of choice.
a. $i = 0: while ($1 <= 5, ++$i){ echo "i": } b. $i = 0; while ($i <= 5) echo "$i": ++$i; } c. $i = 0; while ($i <= 5) echo "$i": ++$i: } d. $i = 0; while ($i <= 5; echo "$i"); ++$i; }
1 Answer
0
Start learning PHP and you'll find it in Control Structures module -> The while Loop
https://www.sololearn.com/learn/PHP/1825/