Please help the exercise doesn't work


<the page stays sending the code and it doesn’t let me finish or make nothing else >

``` <?php $loopCond = false; do { echo "

The loop ran even though the loop condition is false.

"; } while ($loopCond = true); echo "

Now the loop is done running.

"; ?>
<do not remove the three backticks above>



which you used in
while ($loopCond = true);
you are assigning the Boolean-Value =true= to the variable $loopCond

But you want a comparison which you would express with a double-equal-sign like ==
so you would have
while ($loopCond == true);


Everything OK. It was not easy but I made it!


The problem still there disappointed_relieved


You will have to change the condition into


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.