Vogunumpjunny
New Member
Let's say I have this:\[code\]$array = array("john" => "doe", "foe" => "bar", "oh" => "yeah");foreach($array as $i=>$k){echo $i.'-'.$k.',';}\[/code\]echoes \[code\]"john-doe,foe-bar,oh-yeah,"\[/code\]How do I get rid of the last comma?