Re: Problem with storing data in an array

2004-04-07 Thread Randy W. Sims
On 4/7/2004 5:50 PM, Randy W. Sims wrote: 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 @st

Re: Problem with storing data in an array

2004-04-07 Thread JupiterHost.Net
Romain Groleau wrote: Hi, Howdy 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] ; } [EMAIL PROTECTED] if a reference just like [EMAIL PROTECTED] you could do the same thing by

Re: Problem with storing data in an array

2004-04-07 Thread Randy W. Sims
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

Problem with storing data in an array

2004-04-07 Thread Romain Groleau
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. Can you help me plz