I\'m new to PHP, and don\'t have quite the grip on how it works. If I have a two dimensional array as such (returned by a database):
array(3) { [0]=&
One line command
implode(',', array_map('implode', $arr, array_fill(0, count($arr), '')))