<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>using DBI::fetchrow_array(); to load another array</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Courier New">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">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. </FONT></P>

<P><FONT SIZE=2 FACE="Courier New">@the_array = $sth-&gt;fetchrow_array();</FONT>

<BR><FONT SIZE=2 FACE="Courier New">gives me only the first row.</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">makes sense after I looked at it, since I am using it in a scalar context.</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">but how then would I get it to work 'array to array' so to speak.</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2 FACE="Courier New">TIA</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Ramon Hildreth</FONT>
</P>
<BR>
<BR>

<P><A HREF="http://visibleservices.com%20"><U><FONT COLOR="#0000FF" SIZE=4 FACE="Verdana">VisibleServices.com</FONT></U></A>

<BR><FONT COLOR="#808000" SIZE=2 FACE="Verdana">[web design | graphics | databases | hosting]</FONT>
</P>

</BODY>
</HTML>