Bob's Auto Parts

Order Results

Order processed.

'; $tireqty = $HTTP_POST_VARS['tireqty']; $oliqty = $HTTP_POST_VARS['oliqty']; $sparkqty = $HTTP_POST_VARS['sparkqty']; echo '

your order is as follows:

'; echo $tireqty.' tires
'; echo $oilqty.' bottles of oil
'; echo $sparkqty.' spark plugs
'; $totalqty = 0; $totalqty = $tireqty + $oilqty + $sparkqty; echo 'items ordered: '.$totalqty.'
'; $totalamount = 0.00; define('TIREPRICE', 100); define('OILPRICE', 10); define('SPARKPRICE', 4); $totalamount = $tireqty * TIREPRACE + $oilqty * OILPRICE + $sparkqty * SPARKPRICE; echo 'subtotal: $'.number_format($totalamount,3).'
'; ?>