How to loop through array of multiple arrays in php
Clash Royale CLAN TAG#URR8PPP How to loop through array of multiple arrays in php I am trying to loop through array of arrays in php. Usually get stalked with complex array sometimes but I need your kind assistance with this. var_dump($array) produced the array below: var_dump($array) $arrayVal = array(6) { ["item_id"]=> array(2) { [0]=> string(1) "1" [1]=> string(1) "2" } ["request_explanation"]=> array(2) { [0]=> string(7) "Welcome" [1]=> string(11) "Hello World" } ["quantity"]=> array(2) { [0]=> string(1) "4" [1]=> string(1) "4" } ["unit_cost"]=> array(2) { [0]=> string(1) "4" [1]=> string(1) "3" } ["total_cost"]