I copy the entire code block from the book :
<?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars $conversion;
}
$total = $price + ($price $tax);
echo "Total cost in dollars: $total. Cost in British pounds: "
.convert_pound($total);
}
salestax(15.00,.075);
echo convert_pound(15);
?>
This code when executed displays only the outcome of the 1st command (salestax).I get no results from the 2nd command (echo convert.....).