This top5 global by hits currently displays this:
Alexandra Silk: 3
Amber Micheals: 1
Adult DVD Explorer: 0
Dancernet: 0
DFW Nites: 0
How do I get them to be hyperlinked?
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) {
push (@output, $link);
}
return { top5_loop => \@output };
}
Michael Carpenter
Adult DVD Links
Adult Detective
Alexandra Silk: 3
Amber Micheals: 1
Adult DVD Explorer: 0
Dancernet: 0
DFW Nites: 0
How do I get them to be hyperlinked?
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) {
push (@output, $link);
}
return { top5_loop => \@output };
}
Michael Carpenter
Adult DVD Links
Adult Detective