Ok so i have this foreach php loop
<?php foreach($final_products as $product){ ?>
and I am accessing it like this
<?php print $product['product_price']; ?>
which is great but the challenge I have is how do i access the next element in the array within this array so like this
<?php print $product['product_price'] + $product["next_product"]['product_price']; ?>
next_product is just a name i have to illustrate that i need the next product in the products arrays price but still continue with the flow of the array loop...any ideas