Thanks to Laura, here's the final global:
sub {
# Displays the newest links on the home page.
my ($output,$sth,$user);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY LinkAuthor ASC');
$sth = $search_db->select ('DISTINCT(LinkAuthor)');
while ($user = $sth->fetchrow_hashref) {
$output .= qq~<li>$user->{LinkAuthor}</li>~; }
return $output;
}
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
sub {
# Displays the newest links on the home page.
my ($output,$sth,$user);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY LinkAuthor ASC');
$sth = $search_db->select ('DISTINCT(LinkAuthor)');
while ($user = $sth->fetchrow_hashref) {
$output .= qq~<li>$user->{LinkAuthor}</li>~; }
return $output;
}
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory