in reply to Re: Re: Array of Arrays & Fetchrow
in thread Array of Arrays & Fetchrow
And my output is 1111:1::push @rows, $_ for $ratings->fetchrow_arrayref(); print XML "$rows[0]->[0]:$rows[0]->[1]:$rows[1]->[0]:$rows[1]->[1]\n";
So I added a: push @rows, $_ for $ratings->fetchrow_arrayref(); This is to get the second line from the DB.
And my output is 2222:2:2222:2 instead of 1111:1:2222:2 like I thought it would be. Can anybody tell me what I'm doing wrong here?
Thanks
BW
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Array of Arrays & Fetchrow
by robartes (Priest) on Nov 01, 2002 at 18:08 UTC | |
by Willman023 (Scribe) on Nov 04, 2002 at 13:46 UTC |