Copy and paste the following, and give it a try...
<?
IF(ISSET($POST['agree'])){
// This area would be where you'd take the calculated value and message and do whatever you needed (add to DB, or whatever)
echo $POST['Total']."<br />";
echo $POST['nMessage'];
} else {
?>
<html>
<head>
<title>World of TUI - Voucher Request Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<p align="left"><font size="2" face="Arial, Helvetica, sans-serif"><strong>•
Some detail will go here</strong></font></p>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<p> </p>
<form action="<?php echo $SERVER['PHP_SELF']; ?>" method="POST">
<table width="722" height="292" border="0" cellpadding="0">
<tr>
<td width="57" height="19" align="right" nowrap>
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£5:</font></strong></div></td>
<td width="20"><input name="checkbox1" type="checkbox" value="5" <?php IF(ISSET($POST['checkbox1']) && $POST['checkbox1'] != '') echo "CHECKED"; ?>></td>
<td width="75"> <input name="Five" type="text" id="Five2" size="5" value="<?php IF(ISSET($POST['Five']) && $POST['Five'] != '') echo $POST['Five']; ?>"> </td>
<td width="33" align="right">
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£10:</font></strong></div></td>
<td width="20"><input type="checkbox" name="checkbox2" value="10" <?php IF(ISSET($POST['checkbox2']) && $POST['checkbox2'] != '') echo "CHECKED"; ?>></td>
<td width="75"> <input name="Ten" type="text" id="Ten3" size="5" value="<?php IF(ISSET($POST['Ten']) && $POST['Ten'] != '') echo $POST['Ten']; ?>"> </td>
<td width="33" align="right">
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£25:</font></strong></div></td>
<td width="20"><input type="checkbox" name="checkbox3" value="25" <?php IF(ISSET($POST['checkbox3']) && $POST['checkbox3'] != '') echo "CHECKED"; ?>></td>
<td width="369"><input name="twentyFive" type="text" id="twentyFive3" size="5" value="<?php IF(ISSET($POST['twentyFive']) && $POST['twentyFive'] != '') echo $POST['twentyFive']; ?>"></td>
</tr>
<tr>
<td height="19" align="right" nowrap>
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£50:</font></strong></div></td>
<td><input type="checkbox" name="checkbox4" value="50" <?php IF(ISSET($POST['checkbox4']) && $POST['checkbox4'] != '') echo "CHECKED"; ?>></td>
<td><input name="Fifty" type="text" id="Fifty2" size="5" value="<?php IF(ISSET($POST['Fifty']) && $POST['Fifty'] != '') echo $POST['Fifty']; ?>"></td>
<td align="right">
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£100:</font></strong></div></td>
<td><input type="checkbox" name="checkbox5" value="100" <?php IF(ISSET($POST['checkbox5']) && $POST['checkbox5'] != '') echo "CHECKED"; ?>></td>
<td><input name="Hundred" type="text" id="Hundred3" size="5" value="<?php IF(ISSET($POST['Hundred']) && $POST['Hundred'] != '') echo $POST['Hundred']; ?>"></td>
<td align="right">
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif">£250:</font></strong></div></td>
<td><input type="checkbox" name="checkbox6" value="250" <?php IF(ISSET($POST['checkbox6']) && $POST['checkbox6'] != '') echo "CHECKED"; ?>></td>
<td><input name="twoFifty" type="text" id="twoFifty3" size="5" value="<?php IF(ISSET($POST['twoFifty']) && $POST['twoFifty'] != '') echo $POST['twoFifty']; ?>"></td>
</tr>
<tr>
<td height="19" align="right" valign="middle">
<div align="right"><strong><font size="2" face="Arial, Helvetica, sans-serif"><a href="#" onclick="submit()">Recalculate Total:</a></font></strong></div></td>
<td> </td>
<td colspan="7">
<?
$totals = 0;
IF(ISSET($POST['Five'])){
$totalFive = (isset($POST['checkbox1'])) ? ($POST['checkbox1']$POST['Five']) : 0;
} else {
$totalFive = 0;
}
IF(ISSET($POST['Ten'])){
$totalTen = (isset($POST['checkbox2'])) ? ($POST['checkbox2']$POST['Ten']) : 0;
} else {
$totalTen = 0;
}
IF(ISSET($POST['twentyFive'])){
$totaltwentyFive = (isset($POST['checkbox3'])) ? ($POST['checkbox3']$POST['twentyFive']) : 0;
} else {
$totaltwentyFive = 0;
}
IF(ISSET($POST['Fifty'])){
$totalFifty = (isset($POST['checkbox4'])) ? ($POST['checkbox4']$POST['Fifty']) : 0;
} else {
$totalFifty = 0;
}
IF(ISSET($POST['Hundred'])){
$totalHundred = (isset($POST['checkbox5'])) ? ($POST['checkbox5']$POST['Hundred']) : 0;
} else {
$totalHundred = 0;
}
IF(ISSET($POST['twoFifty'])){
$totaltwoFifty = (isset($POST['checkbox6'])) ? ($POST['checkbox6']$POST['twoFifty']) : 0;
} else {
$totaltwoFifty = 0;
}
$totals = $totalFive + $totalTen + $totaltwentyFive + $totalFifty + $totalHundred + $totaltwoFifty;
?>
<input name="Total" type="text" id="Total3" value="<?php echo $totals; ?>" size="15" readonly="true" ></td>
</tr>
<tr>
<td height="40" colspan="9" valign="bottom"><p><strong><font size="2" face="Arial, Helvetica, sans-serif">Comments
/ Special Requirments:</font></strong></p></td>
</tr>
<tr>
<td height="150" colspan="9"> <blockquote>
<blockquote>
<div align="left" id="textarea3" name="nMessage" cols="40" rows="8" wrap="VIRTUAL">
<textarea name="nMessage" cols="40" rows="8" wrap="VIRTUAL" id="textarea3"></textarea>
</div>
</blockquote>
</blockquote></td>
</tr>
<tr>
<td height="150" colspan="9"> <blockquote>
When you are ready to send your order, click the Checkbox below, and click on the submit button.
<br />
<input type="checkbox" name="agree"></td>
</tr>
<tr>
<td height="24"> <input type="submit" name="Submit" value="Submit"></td>
<td colspan="8"><input type="reset" name="Submit2" value="Reset"></td>
</tr>
</table>
</form>
</body>
</html>
<?
}
?>