Hallo,
Unelegant aber funktioniert:
<?php
$arr = array($a,$b,$c,$d,$e);
if($a != '') $ausgabe .= $a . ', ';
if($b != '') $ausgabe .= $b . ', ';
if($c != '') $ausgabe .= $c . ', ';
if($d != '') $ausgabe .= $d . ', ';
if($e != '') $ausgabe .= $e;
echo $ausgabe;
?>
Gibt aber bestimmt bessere Lösungsansätze...
Grüße,
Willi