my $sth = $db->prepare_cached("select $name from options");
$sth->execute;
my @result = $sth->fetchrow_array;
+ $sth->finish;
+ undef $sth;
return $result[0];
}
push @result,
{ song => $row[0], artist => $row[1], album => $row[2] };
}
+ undef $sth;
return @result;
}