Suppose I have an array like this:
$products = array('Shoes' => array('price' => 49.99, 'shipping' => 5),
'Shirt' => array('price' => 29.99, 'shipping' => 3),
'Socks'=> array('price' => 2.99, 'shipping' => 0)
);
I am having trouble traversing a multi-dimensional array and adding the elements. Are there any tips for a PHP beginner? Thank you.