in reply to fetchrow_array
Or to grab all the rows in column-value pairs into a hash ref (handy for HTML::Template),try:
$ary = $sth->fetchall_arrayref({}); for my $i ( 0 .. $#$ary ) { print $ary->[$i]{'status'}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: fetchrow_array
by kutsu (Priest) on May 27, 2005 at 14:21 UTC | |
by bradcathey (Prior) on May 27, 2005 at 16:02 UTC | |
by kutsu (Priest) on May 27, 2005 at 16:36 UTC | |
by injunjoel (Priest) on May 27, 2005 at 18:26 UTC |