http://php.flashwebhost.com/sherly/discount.php
Code:<?php $over65=true; $price = 3.00; if ($over65) { $discount =.90; echo "You have received our senior's discount, your price is $" . $price*$discount; } else { echo "Sorry you do not qualify for a discount, your price is $" . $price; } ?>
Bookmarks