SPUG:using DBI::fetchrow_array(); to load another array

Ramon Hildreth post at ramonred.com
Mon Feb 10 05:21:18 CST 2003


Hi,

I am using DBI to connect to my database and I am trying to load the
contents of a call to fetchrow_array() into an array. 

@the_array = $sth->fetchrow_array();
gives me only the first row.

makes sense after I looked at it, since I am using it in a scalar
context.

but how then would I get it to work 'array to array' so to speak.



TIA

Ramon Hildreth



VisibleServices.com <http://visibleservices.com%20> 
[web design | graphics | databases | hosting]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20030210/8020928b/attachment.htm


More information about the spug-list mailing list