Gossamer Forum
Quote Reply
Help with Keyword Global
I'm using this global for the top 100 keywords

sub {
my (@output,$db,$sth);
$db = $DB->table('SearchLog');
$db->select_options ('ORDER BY HitCount DESC', 'LIMIT 100');
$sth = $db->select;
while (my $row = $sth->fetchrow_hashref) {
push @output, qq~<li><a href="$CFG->{db_cgi_url}/search.cgi?query=$row->{Term}">$row->{Term}</a>~;
}
return $#output > -1 ? join('<br>', @output) : 'No terms yet!';
}

It currently lists the keywords in 1 column with bullets.

How Can I get this to list the keywords in 2 columns and by number? 1 2 3...100

Thanks,

Craven
Subject Author Views Date
Thread Help with Keyword Global craven32 2893 Apr 22, 2004, 11:17 PM
Thread Re: [craven32] Help with Keyword Global
afinlr 2796 Apr 23, 2004, 7:17 AM
Thread Re: [afinlr] Help with Keyword Global
craven32 2791 Apr 23, 2004, 8:29 AM
Thread Re: [craven32] Help with Keyword Global
afinlr 2789 Apr 23, 2004, 9:48 AM
Thread Re: [afinlr] Help with Keyword Global
craven32 2774 Apr 23, 2004, 2:56 PM
Post Re: [craven32] Help with Keyword Global
afinlr 2760 Apr 24, 2004, 9:01 AM