add tag
Anonymous 5599
```
$array1 = Array
                (
                    [0] => Array
                        (
                            [name] => ID
                            [table] => DatabaseModelTable
                        )
                    [1] => Array
                        (
                            [name] => GuestListID
                            [table] => DatabaseModelTable
                        )
                    [2] => Array
                        (
                            [name] => Name
                            [table] => DatabaseModelTable
                        )
                    [3] => Array
                        (
                            [name] => UpdatedAt
                            [table] => DatabaseModelTable
                        )
                    [4] => Array
                        (
                            [name] => UpdaterPeopleID
                            [table] => DatabaseModelTable
                        )
                    [5] => Array
                        (
                            [name] => ConcRV
                            [table] => DatabaseModelTable
                        )
                )
  
  
  $array2 = Array
(
    [0] => Array
        (
            [ID] => 1
            [NumberOfTickets] => 21
        )
    [1] => Array
        (
            [ID] => 2
            [NumberOfTickets] => 12
          )
)
```

The relation between the two array is ID which is a value in the first array. How to merge these two arrays to combine the NumberOfTickets column

This room is for discussion about this question.

Once logged in you can direct comments to any contributor here.

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.