Hello,
I am trying to merge the arrays outputted from GetPersonSubPractices into one array.

PHP Code:
<?php
$i 
0;
while(
$i count($practices)){
    
$sub_practices $obj->GetPersonSubPractices($practices[$i]['practice_id']);
    
$i++;
}
?>
The output of GetPersonSubPractices is a multi-dimensional array that looks like this:

PHP Code:
$sub_practices = array( 

=> array('practice_id' => 4'practice_order' => 1'practice_order' => 5'practice_name' => "Bankruptcy and Workouts"'practice_url_name' => "bankruptcy-workouts"),

=> array('practice_id' => 13'practice_order' => 3'practice_order' => 5'practice_name' => "Receiverships"'practice_url_name' => "receiverships"),

=> array('practice_id' => 1'practice_order' => 4'practice_order' => 5'practice_name' => "Banking and Financial Institutions"'practice_url_name' => "banking-financial-institutions")

); 
With the code that I have, how do I use array_merge() to combine all my arrays in the while loop?

Any help really appreciated.

Thanks.