Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [OP] Top5 global links format?

Quote Reply
Re: [OP] Top5 global links format? In reply to
sub {
my $tags = shift;
my $table = $DB->table('Links');
$table->select_options ('ORDER BY Hits DESC', 'LIMIT 5');
my $sth = $table->select;
my $output;
while (my $link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link', $link)
}
return $output;
}

Last edited by:

afinlr: Feb 2, 2004, 5:38 AM
Subject Author Views Date
Thread Top5 global links format? OP 1139 Feb 2, 2004, 12:32 AM
Post Re: [OP] Top5 global links format?
afinlr 1095 Feb 2, 2004, 5:37 AM