Can anyone help me, I'm having a right time this evening getting any code to work!
I've got an array:
$total = array($category, $make, $price, $quantity, $shipping, $exprice, $vat, $totalprice);
If I print the array I get:
Array ( [0] => JEWELLERY BOXES [1] => ID-20 Wooden Jewellery Box W/Mask Inlaid Shell Fin [2] => 25.00 [3] => 1 [4] => 5.00 [5] => 30 [6] => 5.25 [7] => 35.25 )
But when I try and print category, there is no value for it. I am reading my array like this:
for ($i = 0; $i < $total[$i]; $i++) //Decode Array passed from Email Total
$category = $total['0'];
$make = $total['1'];
$price = $total['2'];
$quantity = $total['3'];
$shipping = $total['4'];
$exprice = $total['5'];
$vat = $total['6'];
$totalprice = $total['7'];