Php 4 all together now


#1


https://www.codecademy.com/courses/web-beginner-en-QF3Wb/0/4?curriculum_id=5124ef4c78d510dd89003eb8#

This seems buggy, below are the errors I get.


Parse error: syntax error, unexpected $end on line 16

Oops, try again. It looks like you didn't print anything!


<html>
  <head>
  </head>
  <body>
    <p>
      <?php
        if(5 > 7){
            echo "The condition is true";
        }
        else{
            echo "The condition is false";
      ?>
    </p>
  </body>
</html>


#2

you forgot to close else statement


#3

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