Through this tutorial I will help you to solve the problem if "array_column" function is not working. May be you are using the older version of PHP. Let me remind you, this will work with 5.5 version ...
This simple library provides functionality for array_column() to versions of PHP earlier than 5.5. It mimics the functionality of the built-in function in every way. For example, using the following ...
Passing the columns as separate arrays, but one of the arrays has the wrong dimensions Nx2 instead of Nx1. In that case, the dataframe column 'p' can be assigned that Nx2 array, but only the first ...