<?php $array = [ ['1,2,1,23,5,2'], ['1,1,1,2,3,2'], ['2,3,4,2'], ]; $result[0] = implode(',', array_column($array, 0)); var_export($result);
You have javascript disabled. You will not be able to edit any code.