<form action="EW7_PhpCalc.php" method="post">
<p>Price: <input type="text" name="Price"/></p>
<p>Quant: <input type="text" name="Quantity"/></p>
<p> <input type="submit" name="submit" value="Calculate"/></p>
</form>
<body>
<h1>Calulation Results</h1>
<?php
$Price=$_POST['Price'];
$Quantity=$_POST['Quantity'];
$Total=$Price*$Quantity;
print
"Price= $ $Price <br />
Quant= $Quantity <br />
Total= $ $Total"
?>
</body>