Print.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Assignment038</title>
</head>

<body>
<p>The Driving Students have been working in certain areas of performance racing. <br />
If they complete the tasks given with good quality then they will receive a free trip to Spain.</p><br />

<p>They will be rated on:</p>
<ul>
<li>Speed </li>
<li>Acceleration</li>
<li>Drifting</li>
<li>Burnout</li>
<li>haldling</li>
</ul>


<?php
//These are variables to hold the ratings
$speed "horrible";
$acceleration "bad";
$drifting 1.5;
$burnout "poor";
$handling 8.5;


if (
$speed="horrible"//not equal to
{
print( 
"Speed was horrible.<br>" );
}

if (
$acceleration == "bad"//equal to
{
print( 
"Acceleration was bad.<br>");
}

if (
$drifting >=9//greater than or equal to
{
print( 
"Drifting was Awsome. <br>");
}

if (
$burnout==="poor"//identical to (including data type)
{
print( 
"Burnout was poor. <br>");
}

if (
$handling 9//less than
{
print( 
"Handling was good. <br>");
}
?>
<p>I guess nobody is going to Spain this time : (</p>
</body>
</html>