<?php
// Single & Double Quotation's
// Whalleyboi09 (C) 2010
// Learn The Up's And Down's Of Single And Double Quotation
// This Is A Part Not To Worry About Its Just An Example
$quantity = 30;
$price = .39;
$taxrate = .05;
// Calculate Total
$total = $quantity * $price;
$total = $total + ($total * $taxrate); // calculate and add tax
$total = number_format ($total, 2);
// This Is Where The Magic Happends
echo 'Using Single Double Quotation Marks <br>';
echo "You are Purchasing <b>$quantity</b> apple(s) at a cost of <b>\$$price</b> Each.
With tax, the total comes to <b>\$$total</b>";
echo "<hr>";
echo 'Using Single Single Quotation Marks <br>';
echo 'You are Purchasing <b>$quantity</b> apple(s) at a cost of <b>\$$price</b> Each.
With tax, the total comes to <b>\$$total</b>';
?>