Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You don't say what module you're using, but I think fetchrow already returns an array, no?Is it possible to get all the result of a fetchrow in one string or array?
while (my @result = $db->FetchRow()) {
[b]my $string = join($delim, @result);[/b]
# do something with $string
...
if ( $type eq 'array' ) {
while ( my $row = $sth->fetchrow_arrayref() ) {
push @result, [@{$row}];
}
} else {
while ( my $row = $sth->fetchrow_hashref() ) {
push @result, $row;
}
}