Convert multidimensional array into single array in php

Convert multidimensional array into single array in php.

While getting mutiple row of data, the array will return in the form of multidimensional array.At that case we need to convert single dimensional array.

For example multidimensional array
Above multidimensional array need to converted into single dimensional array in php.
Use code to convert:
After applying above code in php,the output will be
Hope above code is useful to Convert multidimensional array into single array in php.Happy coding.