- On line 7, set
$items
equal to a number greater than 5. Make sure to put a semicolon at the end of the line. - On line 9, edit the condition so that your program will print out
You get a10% discount!
<html>
<head>
</head>
<body>
<p>
<?php
$items = 6 // Set this to a number greater than 5!
if($items > 5) {
echo "You get a 10% discount!";
}
?>
</p>
</body>
</html>
<head>
</head>
<body>
<p>
<?php
$items = 6 // Set this to a number greater than 5!
if($items > 5) {
echo "You get a 10% discount!";
}
?>
</p>
</body>
</html>
No comments:
Post a Comment