name; if ($o->g1name) $name .= " by ".$o->g1name; if ($o->g2name) $name .= " and ".$o->g2name; printf("%s\n",$o->id,$name); } ?>