Ver original$a=ARRAY('a','b','c','d','e','f');$num1=count($a);foreach($a AS $L){ $num2++; echo $L; if( $num2 < $num1 ){ echo ', '; }}