Say for example you just queried a database and you recieved this 2D array.
$results = array( array(\'id\' => 1, \'name\' => \'red\' , \'spin\' =&
This is fast function alternative of array_column()
if(!function_exists('array_column')) { function array_column($element_name) { $ele = array_map(function($element) { return $element[$element_name]; }, $a); return $ele; } }