A While loop is used when we have to repeat a set of statements as long as the condition is false. It could be the best where number of repetition is not known earlier or in advance.
It can be explain in plain English as “Keep doing something until a condition is true”.
// Set of statements goes here;
echo $ct . “<br>”;
$ct = $ct+5;
5 10 15 20 25 30 35 40 45 50