[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Getting database handle in UserTag


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

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.