i am writing the script cause im a newbie... the book told me to... but i keep getting an error... can you tell me what i did wrong?
<head>
<title>Conditionals</title>
</head>
<body>
<?php
/ $Quantity must be passed to this page from a form or via URL. $Discount is optional. /
$Cost = 2000.00;
$Tax = 0.06;
if ($Quantity) {
$Quantity = abs($Quantity);
$Discount = abs($Discount);
$Tax++; // $Tax is now worth 1.06
$TotalCost = (($Cost $Quantity) - $Discount) $Tax;
$Payments = round ($TotalCost, 2) /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 $");
printf ("%01.2f", $TotalCost);
print (".\n<p>You may purchase the widget(s) in 12 monthly installments of $")
printf ("%01.2f", $Payments);
print (" each.\n<p>;
}
?>
</body>
its says there is an error on line 21.