$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");  $str = implode (", ", $arr);

Read more of this post