[ic] Getting database handle in UserTag
Stefan Hornburg
racke at linuxia.de
Fri Jul 21 07:55:38 EDT 2006
Tim Nelson wrote:
> Normally when I want to get a database handle in a page I do:
> [perl tables="userdb"]
> my $dbh = $Sql{userdb};
> ...
>
> How can I accomplish the same thing in a UserTag ?
$Tag->perl({tables => 'userdb'});
That is only useful when calling the UserTag as [footag], not as
$Tag->footag().
Bye
Racke
--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team
More information about the interchange-users
mailing list