Edit: I made a stupid mistake: it should bewhile ($row=$sth->fetchrow_hashref) { foreach $col (%{$row}) { print "$col: ".$$row{$col}."\n"; } }
foreach $col (keys %{$row}) {
In reply to Re: Perl/MySQL
by matija
in thread Perl/MySQL
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |