Hello
what ist the sub for the last ten users ?
my global dosent work
Code:
sub { my $tags = shift;my $user_db = $DB->table('User'); $user_db->select_options("ORDER BY user_registered DESC', 'LIMIT 10');
my $sth = $user_db->select;my @output;
while (my $user = $sth->fetchrow_hashref) {push @output, $user;}
return { user_loop => \@output };}
Whats the Reason?
mfg hoefti
linktobuy Web Directory
Ratgeber Recht