Gossamer Forum
Quote Reply
Table_prefix and globals
I want to use information from my Gforum tables in a global for my Links pages.

One database holds both the Gforum and Links tables.
The Gforum table prefix is gforum_
The Links table prefix is links_

For example, if I want a global that contains the subject of post #100,
in Gforum the global is:

sub {
my $tempsubject = $DB->table('Post')->select(['post_subject'], { post_id => 100 })->fetchrow;
return $tempsubject;
};

What is the same global in Links?

Thank you!!Smile
Subject Author Views Date
Thread Table_prefix and globals tora 9894 Mar 31, 2009, 7:20 AM
Thread Re: [tora] Table_prefix and globals
Andy 9751 Apr 10, 2009, 7:25 AM
Thread Re: [Andy] Table_prefix and globals
tora 9617 Apr 17, 2009, 7:33 AM
Thread Re: [tora] Table_prefix and globals
Andy 9630 Apr 17, 2009, 7:38 AM
Thread Re: [Andy] Table_prefix and globals
tora 9647 Apr 17, 2009, 7:44 AM
Thread Re: [tora] Table_prefix and globals
Andy 9638 Apr 17, 2009, 7:51 AM
Thread Re: [Andy] Table_prefix and globals
tora 9628 Apr 17, 2009, 8:17 AM
Thread Re: [tora] Table_prefix and globals
Andy 9630 Apr 17, 2009, 9:01 AM
Thread Re: [Andy] Table_prefix and globals
tora 9623 Apr 17, 2009, 9:33 AM
Thread Re: [tora] Table_prefix and globals
Andy 9597 Apr 17, 2009, 10:14 AM
Thread Re: [Andy] Table_prefix and globals
tora 9652 Apr 17, 2009, 11:08 AM
Thread Re: [tora] Table_prefix and globals
Andy 9552 Apr 18, 2009, 2:34 AM
Post Re: [Andy] Table_prefix and globals
tora 9589 Apr 18, 2009, 3:09 PM