In that case, we can do this
sub {
my $tags = shift;
my $query = $tags->{query};
my $sth = $DB->table('Links')->query_sth ( { query => $query,ma => 1 } );
my $output; while (my $link = $sth->fetchrow_hashref) {
next unless($link->{Priority} eq 'Yes');
$output .= Links::SiteHTML::display('link_sponsor_search', $link);
}
return $output;
}
It works
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog
sub {
my $tags = shift;
my $query = $tags->{query};
my $sth = $DB->table('Links')->query_sth ( { query => $query,ma => 1 } );
my $output; while (my $link = $sth->fetchrow_hashref) {
next unless($link->{Priority} eq 'Yes');
$output .= Links::SiteHTML::display('link_sponsor_search', $link);
}
return $output;
}
It works
Cheers,
Cheers,
Dat
Programming and creating plugins and templates
Blog