in reply to Simple db select output script hanging up.
with$k = 0; while (@results = $sth->fetchrow_array()) { $data[$k] = [ @results ]; $k++; }
while($results = $sth->fetchrow_array_ref()) { push @data, $results; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple db select output script hanging up.
by punch_card_don (Curate) on Jun 22, 2007 at 18:09 UTC |