public function joinRows($rows, $separator = ', ')
    {
        $ret = array();
        foreach ($rows as $r) {
            $ret[] = $r.'';
        }

        return implode($separator, $ret);
    }
public function joinRows($rows, $separator = ', ')
    {
        $ret = array();
        foreach ($rows as $r) {
            $ret[] = $r.'';
        }

        return implode($separator, $ret);
    }
public function joinRows ( $ rows , $ separator = ', ' ) { $ ret = array ( ) ; foreach ( $ rows as $ r ) { $ ret [ ] = $ r . '' ; } return implode ( $ separator , $ ret ) ; }
Join rows in a single string.

@param array  $rows
@param string $separator

@return string
Join rows in a single string .