Parse Error! 6/6


#1







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

The loop ran even though the loop condition is false.

";
}while($loopCond)
	echo "<p>Now the loop is done running.</p>";
?>
</body>

what's wrong??
@kennethcoll


#2

<?php
$loopCond = false;

while($loopCond == true)
echo "

The loop is running.

";
?>

Reply to me if this does not solve your problem.


#3

The ; after while($loopCond) probaby

So instead of :
while($loopCond)
You should have this :
while($loopCond);