retrieve from an array and/or subarray [closed]

I have the following array/subarray. How would I go about retrieving the data from the array to run an update query:

    Array
(
    [court] => Array
        (
            [442] => ccal11
            [443] => ccal222
        )

    [judge] => Array
        (
            [442] => Robert Harper11
            [443] => Harriett L Haag22
        )

    [address] => Array
        (
            [442] => 300 Oak St Ste 500
Abilene TX 7960211
            [443] => 300 Oak St Ste 501
Abilene TX 7960222
        )

    [phone] => Array
        (
            [442] => 325-674-132311
            [443] => 325-674-120822
        )