Hi
I am trying a global that will return a list of links thaose have detailed description only..
sub {
# Displays the list of all detailed links.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY Title);
$sth = $search_db->select ('DISTINCT(articles)');
while ($link = $sth->fetchrow_hashref) {
$output .= qq~<li><a href="$CFG->{db_cgi_url}/detail_page.cgi?ID=$link->{ID}">$link->{articles}</a></li>~; }
return $output;
}
But it is causing a 500 error..
Any ideas?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
I am trying a global that will return a list of links thaose have detailed description only..
sub {
# Displays the list of all detailed links.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$search_db->select_options ('ORDER BY Title);
$sth = $search_db->select ('DISTINCT(articles)');
while ($link = $sth->fetchrow_hashref) {
$output .= qq~<li><a href="$CFG->{db_cgi_url}/detail_page.cgi?ID=$link->{ID}">$link->{articles}</a></li>~; }
return $output;
}
But it is causing a 500 error..
Any ideas?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory