Hello,
i try to select one link with a global like this:
sub {
my $linkid = $IN->param('linkid');
my $link_db = $DB->table('Links');
my $sth = $link_db->select ({ID => $linkid, isValidated => 'Yes' });
my $output;
while (my $link = $sth->fetchrow_hashref){
$output .= Links::SiteHTML::display ('link', $link);
}
return $output;
}
and use
<%tipp_of_the_day($linkid,'43')%> in template but
get no result.
can anyone help me please?
Sör
i try to select one link with a global like this:
sub {
my $linkid = $IN->param('linkid');
my $link_db = $DB->table('Links');
my $sth = $link_db->select ({ID => $linkid, isValidated => 'Yes' });
my $output;
while (my $link = $sth->fetchrow_hashref){
$output .= Links::SiteHTML::display ('link', $link);
}
return $output;
}
and use
<%tipp_of_the_day($linkid,'43')%> in template but
get no result.
can anyone help me please?
Sör