<html>
<head>
<title>Our Shop</title>
</head>
<body>
<p>
<?php
$items = 4; // This might cause an error since the exercise still expects a "TRUE" answer
if ($items > 5){
echo "You get a 10% discount!";
}
else{
echo "You get a 5% discount!";
}
?>
</p>
</body>
</html>
No comments:
Post a Comment