in reply to push result into array
while (@result = $sth->fetchrow_array()) { push @dept,@result; }
__________
Systems development is like banging your head against a wall...
It's usually very painful, but if you're persistent, you'll get through it.
|
|---|