Faulty code in while loops


#1

Please help me! My code doesn't seem to work.







<?php
$loopCond = true;
while ($loopCond == true){
//Echo your message that the loop is running below

	$loopCond = false;
}
echo "<p>And now it's done.</p>";
?>
</body>


#2

@jlazarus,
Place

echo "<p>And now it's done.</p>";

inside your WHILE code-block

while ( condition ) {
   //WHILE code-block
}