in reply to Looping question

Other people eluded to this, but here's specific code for what you probably want.
... my @tableRows; while ( my $row = $st->fetchrow_hashref() ) { push @tableRows, $row; } ...
2 other things to keep in mind:
  • does your query actully return any rows, or is the counter table empty?
  • Is the info in @tableRows of the format desired by table() - CGI function im guessing?
  • Replies are listed 'Best First'.
    A reply falls below the community's threshold of quality. You may see it by logging in.