Anyways, I believe I am having some sort of issue with switching from the JDK too what ever is needed for PHP. They are two new languages I am learning at once.
Anyways: Heres the code and error list:
<html>
<head>
<title>
If...Loop etc.
</title>
</head>
<body>
<?php
$number = 5;
if ($number < 10)
{
echo "5 is lesser than 10";
}
?>
<br><br>
<?php echo "The following statemnet is based on your time, it will either greet you with good morning, good afternoon, or good evening"; ?>
<br><br>
<?php
$hour = date("H");
if ($hour < 12)
echo "Good Morning!";
else ($hour < 17)
echo "Good afternoon!";
elseif
echo "zZz! Good night!";
?>
<br><br><br><br>
<?php
if ($number <= 5 and >= 10)
echo = "Number is between 5 and 10";
else
echo = "Number is not between 5 and 10";
?>
</body>
</html>
The project cannot be built until build path errors are resolved Ex4_10 Unknown Java Problem Unbound classpath container: 'JRE System Library [JavaSE-1.6]' in project 'Ex4_1' Ex4_1 Build path Build Path Problem Unbound classpath container: 'JRE System Library [JavaSE-1.6]' in project 'Ex4_10' Ex4_10 Build path Build Path Problem


Sign In
Create Account


Back to top









