<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Cost Calculator</title>
</head>
<body>
<?php // Script 10.4 - calculator.php
/* this script displays and handles an HTML form.
It uses a function to calculate a total from a quantity and price. */
//this function returns the calculations
function calculate_total ($quantity, $
I am just starting Chapter 10 Pursue #4 now and am still brain storming. Just curious what others came up with?
BTW Purse #4 reads: come up with an idea for, create, and use your own custom function.
Tim