PHP - Flatten or Merge a Multidimensional Array

Here's a code snippet to flattern or merge a multidimensional array. This is useful when we need to find if a value exisits in any of the nodes in a multidimensional array.

Continue reading..