Who can tell me how to pass 2.2 if statement?


please write code here ???
here my code but it doesn't work
$age = 19;

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



Your 'if' doesn't evaluate to true. Your $items is equal to NULL, which wont give 'true' inside 'if' and therefore your text will not be printed.

You should set the $items variable to something smaller than 5. Also, why you even have $age variable in this exercise?