This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Niely
over 10 years

Stuck in Exercise.

Hello,

What’s wrong on this code?:

    <html>
  <head>
    <title>Our Shop</title>
  </head>
  <body>
    <p>
      <?php
         $items =  6;   // Set this to a number greater than 5!
        if ($items < 6); {
          echo "You get a 10% discount!";
        }
        ?>
        
        
    </p>
  </body>
</html>

I’m stuck in this exercice. :P

Thanks for reading,

Niely,

Answer 522b80e080ff3385a50033c4

0 votes

Permalink

points
Submitted by James
over 10 years

2 comments

Niely over 10 years

Ok thanks! ;)

James over 10 years

OK :)

Answer 55abc5769113cbb73100013c

0 votes

Permalink

points
Submitted by Alejandro
over 8 years