Hi,
I'm not sure about your coding but I think you could get the required result using -
sub {
my $tags = shift;
my $output;
my $loged_user = $tags->{Username};
my $table = $DB->table('events');
my $sth = $table->select (['col_name'],{Owner_userid => $loged_user });
while (my $row = $sth->fetchrow_hashref) {
($output .= "$row->{col_name}<br>");
}
return $output;
}
Replace col_name with your title column name.
Hope it works.
Simon.
I'm not sure about your coding but I think you could get the required result using -
sub {
my $tags = shift;
my $output;
my $loged_user = $tags->{Username};
my $table = $DB->table('events');
my $sth = $table->select (['col_name'],{Owner_userid => $loged_user });
while (my $row = $sth->fetchrow_hashref) {
($output .= "$row->{col_name}<br>");
}
return $output;
}
Replace col_name with your title column name.
Hope it works.
Simon.