While Loop Syntax


I could not solve this one:

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

The loop is running

echo "<And now it's done.";

please help me? why it does not works?


it gets in stuck, and here i put "p" and "/p" but in this page it does not show this one


Your First PHP while loop!

($loopCond = false);

while($loopCond == true); {

echo "

The loop is running.

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

you forgot ( and )


thanks you at all))
I understood...


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