Where do i go wrong?


here is the syntax. code is running on the screen but give me the error Did you put parentheses around $LoopCond?

$loopCond = false;
do {
echo "

The loop ran even though the loop condition is false.

while ( $loopCond== true);
		echo "<p>Now the loop is done running.</p>";



The specialty about a DO WHILE
is that the associated { code-block }
is executed at least once......
the WHILE-condition is checked.......

If you do not want that behaviour you could use WHILE-loop
where the WHILE-condition is checked
the associated { code-block }
is executed