PHP is not working

php

#1

this is not working, I can't make a lesson without receiving an error message, saying that "something went wrong". It's impossible to keep studying like this. Please do something

I can't even complete lesson 6 ! and don't know what the error is, despites the code works







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

The loop ran even though the loop condition is false.

";
$loopcond = true;
    } while ($loopcond == false);        

    echo "<p>Now the loop is done running.</p>";
?>
</body>


#2

I have the same problem! Post a complaint on Facebook, and then codecademy will help you


#3

The following should be enough to demonstrate the point of the lesson...

<?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>";
 ?>

#4

I posted it on Facebook I am waiting on response. I even tried different browsers but I could get it to work right.
Charlie


#5

Finally got it to work in Google.


#6

of course, but even though the code is right (like mine too), the error says: " Did you put parentheses around $LoopCond?"

and that is codecademy's mistake


#7

how did you do it?

even though my code is right... the message: Did you put parentheses around $LoopCond?" stills appears on my code


#8

PHP course is not working at all...
tooo buggy to work with it... I lost patience finaly.


#9

We've been staring it in the face. I often post how the answer is in the error message. Have we tried this out? What if we use $LoopCond as the variable name? Please report back your findings. Thank you.