- If your condition is
true, your code shouldecho"The condition is true" - Otherwise (
else) when it is false, your code shouldecho"The condition is false". - Make sure your condition evaluates to
false, so that your program prints out"The condition is false".
<html>
<head>
</head>
<body>
<p>
<?php
$trueOrfalse = "true";// Write your if/elseif/else statement here!
if ($yourName == "false") {
echo "The condition is true";
}
else {
echo "The condition is false";
}
?>
</p>
</body>
</html>
<head>
</head>
<body>
<p>
<?php
$trueOrfalse = "true";// Write your if/elseif/else statement here!
if ($yourName == "false") {
echo "The condition is true";
}
else {
echo "The condition is false";
}
?>
</p>
</body>
</html>
No comments:
Post a Comment