Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
for($x=0; $x<$sth->rows; $x++) { $data = $sth->fetch_hashref; $this = $data->{id}; $prev = ... }
2006-02-03 Retitled by g0n, as per Monastery guidelines
Original title: 'LOOP Help!!!'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Remember previous element in a loop
by Corion (Patriarch) on Feb 03, 2006 at 11:39 UTC | |
by Anonymous Monk on Feb 03, 2006 at 11:46 UTC | |
|
Re: Remember previous element in a loop
by tweetiepooh (Hermit) on Feb 03, 2006 at 11:43 UTC | |
|
Re: Remember previous element in a loop
by blazar (Canon) on Feb 03, 2006 at 13:25 UTC |