What is wrong with this?


#1

<html>
  <head>
  </head>
  <body>
    <p>
      <?php
        $items = 10;
        
        
        
        
        if($items > 5) {
          echo "You get a 10% discount!";
        }
        else {
            echo"you get a 5% discount!";
        }
    
    </p>
  </body>
</html>

what's wrong? it keeps saying i didn't print anything.


#2

The PHP did not run because it is not closed, properly.

         ?>
        </p>