Thread top innerhalb einer sortierten Spalte (6 answers)
Opened by daniel at 2005-09-26 12:29

format_c
 2005-09-26 15:12
#33606 #33606
User since
2003-08-04
1706 articles
HausmeisterIn
[Homepage] [default_avatar]
Vielleicht irgendwie so?
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
my $limit = 3;
my $curr = 0;
my $type = '';

while (my @row = $sth->fetchrow_array()) {
  if (++$curr > $limit && $type eq $row[0]) {
   $curr = 0;
   next;
  }
  $type = $row[0];
  print @row,"\n";
}


Gruß Alex\n\n

<!--EDIT|format_c|1127733192-->

View full thread top innerhalb einer sortierten Spalte