"1", "name" => "Titanic", "genre" => "Drama", ), array( "id" => "2", "name" => "Justice League", "genre" => "Action", ), array( "id" => "3", "name" => "Joker", "genre" => "Thriller", ) ); // Getting the column of names $names = array_column($movies, "name"); print_r($names); ?>