I have a database (mysql if it matters) and I can select columns and
rows from it no problem.  what I can't quite seem to see how to do is to
take the columns I can select and put them into a 2 dimensional array.

I tried this:

@data = $sth->fetchrow_array();

and it got a two dimensional array of one element each and this:

@rtn = $sth->fetchrow_array();
push(@data,@rtn) seems to get me a giant 1 dimensional array.

I'm sort of at a loss

TIA

Bruce

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to