The following script takes goes through an
array and prints out $descr,$format,$price.
I need to increment each line so i can
display more than one line the same as
a shopping cart. Can any one help
function show($cart){
foreach($cart as $key=>$value)
$descr = $cart[1];
$format = $cart[2];
$price = $cart[3];
echo "$descr on the $format costing £$price";
echo "<BR>";
echo "<a href= index.php>Click here to go back</a>";