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
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