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

0 points
Submitted by JayMurder310
over 8 years

Error in PHP Syntax

Ive been stuck on this error for a very long time, probably like a month or so. I have no clue what im doing nor what the error is for. Ive tried to do a lot of stuff but nothing worked, someone please help me, thank you! :)

http://gyazo.com/c1459c3d999998c90d2c7c09d86071dd

Answer 55c9cd58d3292fc2500000f0

0 votes

Permalink

$items = 3;

    if($items > 5) {
      echo "You get a 10% discount!";
    }
    else {
        echo"You get a 5% discount!";
        }
points
Submitted by martin3fonov
over 8 years