I\'m having major headaches trying to create a multidimensional array from two separate MySQL selects.... I\'ve been searching here and Google all day and have to finally admit
If you have an ID from the first Array, you can check for keys / values with this ID in the second Array.
If you want to get the key you should use
array_key_exists($string)
And if you want to get the value you should use
in_array($string)
You can use a foreach loop to execute this functions!