I'm not quite sure how to do this. Let's say I have 2 associative arrays
$arr1 = array('a' => "1", 'b' => "2", 'c' => "3");
$arr2 = array('a' => "9", 'b' => "8", 'c' => "7");
How could I possibly produce an "add-up" array as below
$arr1 = array(
array('a', "1", "9"),
array('b', "2", "8"),
array('c', "3", "7")
);
I'm not sure if the above syntax is correct. If it's not, then an add-up that looks like below will do too
$arr1 = array(
'a' => array("1", "9"),
'b' => array("2", "8"),
'c' => array("3", "7")
);
Thanks