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

Re: [Robert] Extern table

Quote Reply
Re: [Robert] Extern table In reply to
Is it in the same database as GLinks? If so, you can do a little trick with:

Code:
my $count = $DB->table("Changes")->do_query(qq|SELECT COUNT(*) FROM your_table|)->fetchrow;

The table in red can be any valid GLinks table (it's literally just to make the connection)

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!
Subject Author Views Date
Thread Extern table Robert 8102 Aug 15, 2017, 5:42 AM
Post Re: [Robert] Extern table
Andy 7927 Aug 15, 2017, 9:21 AM
Post Re: [Robert] Extern table
socrates 7536 Sep 30, 2017, 11:19 PM
Thread Re: [Robert] Extern table
Robert 7550 Oct 2, 2017, 10:32 AM
Thread Re: [Robert] Extern table
Andy 7526 Oct 3, 2017, 10:56 PM
Post Re: [Andy] Extern table
Robert 7486 Oct 5, 2017, 12:46 AM
Thread Re: [Robert] Extern table
Robert 7082 Nov 23, 2017, 10:03 AM
Post Re: [Robert] Extern table
Andy 7056 Nov 23, 2017, 11:54 PM