Where do i go wrong?


i get "you get a 5% discount. but when i run it states that i got error.

$items = 3;

    if($items > 5) {
      echo "You get a 10% discount!";
   echo "You get a 5% discount";



What error you've got?

I think this is the problem.
You forgot to add the exclamation (!) in the end of your statement:
Next time, read very carefully the Instruction. use echo to output "You get a 5% discount!"

it should be

       echo "You get a 5% discount!";

Hope this helps.