Whilw loops in php helpme


#1




Your First PHP while loop!


<?php
$loopCond = true;
while ($loopCond == true){
echo "

the loop is running";
//Echo your message that the loop is running below

	$loopCond = false; program should not run.. what should i  write?  any one help me plz:sweat:
}
echo "<p>And now it's done.</p>";
?>
</body>


#2

Could you clarify your post? It seems your question and code are mixed and half of it is in a code block.


#3

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