Erm, yes because fetchrow_array fetches one row. You call it successive times until it returns an empty list (at which point the paranoid will check $select->errstr to see if anything went wrong).
Update: Perhaps selectcol_arrayref and a suitable SELECT statement would be a better fit for what you're attempting? At any rate, read the DBI docs.
In reply to Re: Populating an array from a mysql select
by Fletch
in thread Populating an array from a mysql select
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |