Home : Products : DBMan SQL : Discussion :

Products: DBMan SQL: Discussion: Re: [Bearwithme] Unable to compile ... home.pm line 1044: Edit Log

Here is the list of edits for this post
Re: [Bearwithme] Unable to compile ... home.pm line 1044
Hi,

Just put the below scripts into template global:

sub {
my $tags = shift;
my $sql = $tags->{home}->{sql};
my $sth = $sql->table('Sample')->select();
return $sth->rows;
}

And then, you have to add <%function_name%> in template file.

Cheers,
TheStone.


B.

Last edited by:

TheStone: Oct 31, 2001, 2:40 PM

Edit Log: