"In a scalar context, fetchrow_array returns the value of the first field." $val = $sth->fetchrow_array; Alternatively, you could use a bind_col thus: my $val; $sth->bind_col(1, $val); while ($sth->fetch) { print "$val\n"; } -- Simon Oliver
- Single value Rozengurtel, Daniel
- RE: Single value Sterin, Ilya
- Re: Single value jadams01
- Re: Single value Simon Oliver
- Re: Single value Michael A. Chase
- RE: Single value Sterin, Ilya