Cart

Your cart is woefully empty.';
} else {
echo '

Item

Unit price

No. of units

Subtotal

';
$total = 0;
//We iterate over all the items in $_SESSION['cart'].
//Each item represents a "row," or a single product to buy, in the shopping cart.
foreach($_SESSION['cart'] as $item) {
//Recall that the format of the $item associative array is the same as the one
//defined in add.php, since the array has simply been passed to this page
//via the $_SESSION variable.
echo "