... foreach ( $usr->columns ) { $output .= "$_; " . $usr->$_ . "
"; } ...