Break.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Break</title>
</head>
<body>
<h1>Joya needs a X box 360</h1>
<p>Currently I have almost enough for a X Box 360 just a little more untill I have one!</p>
<p>Also I need a new game so I can PWN some noobs so I need to save some more money.</p>
<table>
<?php
$dollars = 300;
Do
{
echo "<tr><td>";
echo "Getting closer to my 360! ";
echo " Currently I have ".$dollars." dollars!";
echo "</tr></td>";
$dollars=$dollars+10;
if ($dollars==400)
{
break;
}
$dollars=$dollars+10;
}
while ($dollars < 400) ;
if ($dollars == 500)
{
echo "<tr><td>";
echo "Sweet time for my X box";
echo "</td></tr>";
}
else
{
echo "<tr><td>";
echo "Sweet time for my X box and a Pwing Game!";
echo "</td></tr>";
}
?>
</table>
</body>
</html>