Ok I just got my other very simple problem solved and I got my host to turn on register globals. Now I am having problems with number variables. Here is the code I got right out of my book. Check the uploaded file here www.chumpchange.org/testing/numbers.php
<html>
<head>
<title>Using Numbers</title>
</head>
<body>
<?php
/ $Quantity must be passed to this page from a form or via the URL. $Discount is optional /
$Cost = 2000.00;
$Tax = 0.06;
$TotalCost = $Cost $Quantity;
$Tax = $Tax + 1 / tax is now worth 1.06 /
$TotalCost = $TotalCost - $Discount;
$TotalCost = $TotalCost $tax;
$Payments = $TotalCost / 12;
// Print the Results
print ("You requested to purchase $Quantity widget(s) at $Cost each.\n<p>");
print ("The total with tax, minus your $Discount, comes to $TotalCost.\n<p>");
print ("you may purchase the widget(s) in 12 monthly installments of $Payments each.\n<p>");
?>
</body>
</html>