Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Andy] What am I doing wrong?: Edit Log

Here is the list of edits for this post
Re: [Andy] What am I doing wrong?
I'm not sure I understand the issues here, it should be a simple global. You should be checking your error log for errors.

Code:
sub {
my $ref = $DB->table('Users')->select( { Username => shift } )->fetchrow_hashref;
return ref $ref eq 'HASH' ? $ref->{isPro} : $GT::SQL::error;
}


Then just use <%MyTag($Username)%>

Last edited by:

PerlPod: Aug 21, 2002, 3:48 AM

Edit Log: