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

LinkSQL fetch outside Links DB

Quote Reply
LinkSQL fetch outside Links DB
Is there such global to fetch tables/data outside of LinkSQL? e.g. Database Hivemail. I would like to grab some tables from there? Could this be done?
Quote Reply
Re: [mrcry11] LinkSQL fetch outside Links DB In reply to
A global is simply a perl routine. You can use DBI in it to access this database, and then return the data you want to grab from it. There is also a built in function with GT::SQL, which lets you define the connection details.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] LinkSQL fetch outside Links DB In reply to
Ahh... I see it now. Will making the global for it work?
Quote Reply
Re: [mrcry11] LinkSQL fetch outside Links DB In reply to
Yeah, I don't see any reason why not.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!