the results comes null. i get nothing
my $get_age = $DBH->prepare("SELECT DISTINCT AGE FROM USERS WHERE NAME +S = ?"); $get_age->execute('John'); my $ages = $get_age->fetchall_arrayref; for my $age (@{ $ages }){ print $age; }
In reply to Re^2: fetch all data
by bigup401
in thread fetch all data
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |