On 4/7/2004 5:45 PM, Romain Groleau wrote:

Hi,

my sql query is select a,b ....

and the code to store the results in stach is :

my @stach;
while( my @ary=$sth->fetchrow_array()) {
push @stach, [EMAIL PROTECTED] ;
}

and this doesn't work if I look at @stach there are
only ARRAY(0x81cff60) in the two columns of @stach.

my @stach; while(my @ary = $sth->fetchrow_array()) { push @stach, [EMAIL PROTECTED]; }

use Data::Dumper;
print Dumper([EMAIL PROTECTED]);



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to