567

$dbh->selectall_arrarref ?

my $product = $dbh->selectall_arrayref ("select name from buying where user_name='$user_order'");foreach (@$product){my $oferta = $dbh->selectall_arrayref ("select max(oferta) from buying where name='$_->[0]'");print "@{$oferta}\n";}Primesc resultatul sub forma:ARRAY(0x1a9a750) ARRAY(0x1aa1074) Cum sa-l primesc ca date?
0