Here's the code:
while ($row = $sth->fetchrow_arrayref()) { @player = [(@$row[0], @$row[4])]; }
It only prints out the last record that the array ran through?
In reply to Loop that creates multidimensional array? by jdlev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |