<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>result of your order</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> </head> <body> <div>Thank you for your order!</div> <?php $gross_pils=$_POST['gw_pils']; $p_gross_pils=$_POST['p_gw_pils']; $t_gross_pils=$p_gross_pils*$gross_pils; $gross_expo=$_POST['gw_expo']; $p_gross_expo=$_POST['p_gw_expo']; $t_gross_expo=$p_gross_expo*$gross_expo; $bruch_land=$_POST['bruch_land']; $p_bruch_land=$_POST['p_bruch_land']; $t_bruch_land=$p_bruch_land*$bruch_land; $total_euro=$t_gross_pils +$t_gross_expo +$t_bruch_land; $euro_rate=$_POST['euro_rate']; $total_dollar=$total_euro*$euro_rate; print "<div> You ordered <ul>"; print "<li>$gross_pils bottles of Grosswald Pils, cost $t_gross_pils</li>"; print "<li>$gross_expo bottles of Grosswald Export, cost $t_gross_expo</li>"; print "<li>$bruch_land bottles of Bruch Landbock, cost $t_bruch_land</li>"; print "</ul>"; print "Your bill is $total_dollar US dollars.<br/>"; print "We ship when we get your check!<br/>"; print "Prosit!</div>"; ?> <p id="validator"> <a href="http://validator.w3.org/check?uri=referer"><img style="border: 0pt" src="http://dlib.info/valid-xhtml10.png" alt="Valid XHTML 1.0!" height="31" width="88" /></a> </p> </body> </html>