Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [sangiro] Generate Form Fields from a different LinksSQL Instance

Quote Reply
Re: [sangiro] Generate Form Fields from a different LinksSQL Instance In reply to
Hi,

Basically what you need to do is get a new $DB object. In your global:

my $other_db = GT::SQL->new('/path/to/other/install/defs');
my $other_links_table = $other_db->table('Links');

and you can go from there.

Hope that helps,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Generate Form Fields from a different LinksSQL Instance sangiro 8390 Oct 18, 2002, 6:25 AM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
sangiro 8235 Nov 4, 2002, 3:33 AM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
sangiro 8151 Mar 23, 2003, 1:14 PM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
Paul 8164 Mar 23, 2003, 1:45 PM
Thread Re: [Paul] Generate Form Fields from a different LinksSQL Instance
sangiro 8170 Mar 23, 2003, 2:49 PM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
pugdog 8176 Mar 23, 2003, 7:43 PM
Thread Re: [pugdog] Generate Form Fields from a different LinksSQL Instance
sangiro 8097 Mar 25, 2003, 3:58 PM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
Paul 8141 Mar 25, 2003, 4:44 PM
Thread Re: [Paul] Generate Form Fields from a different LinksSQL Instance
pugdog 8084 Mar 26, 2003, 1:53 AM
Thread Re: [pugdog] Generate Form Fields from a different LinksSQL Instance
Paul 8133 Mar 26, 2003, 2:33 AM
Post Re: [Paul] Generate Form Fields from a different LinksSQL Instance
pugdog 8082 Mar 26, 2003, 4:47 PM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
Alex 8047 Apr 10, 2003, 11:04 AM
Thread Re: [Alex] Generate Form Fields from a different LinksSQL Instance
webmaster33 8069 Apr 10, 2003, 4:59 PM
Thread Re: [webmaster33] Generate Form Fields from a different LinksSQL Instance
Alex 8019 Apr 11, 2003, 9:23 AM
Thread Re: [Alex] Generate Form Fields from a different LinksSQL Instance
webmaster33 8075 Apr 11, 2003, 9:41 AM
Thread Re: [webmaster33] Generate Form Fields from a different LinksSQL Instance
Alex 8028 Apr 11, 2003, 9:48 AM
Post Re: [Alex] Generate Form Fields from a different LinksSQL Instance
webmaster33 8018 Apr 11, 2003, 10:07 AM
Thread Re: [Alex] Generate Form Fields from a different LinksSQL Instance
pugdog 8001 Apr 13, 2003, 9:04 PM
Post Re: [pugdog] Generate Form Fields from a different LinksSQL Instance
sangiro 7910 Oct 26, 2003, 5:43 PM
Thread Re: [sangiro] Generate Form Fields from a different LinksSQL Instance
kamalrajm 7771 Feb 11, 2005, 4:42 AM
Thread Re: [kamalrajm] Instances of LinksSQL for 2 users
kamalrajm 7758 Feb 17, 2005, 11:47 PM
Thread Re: [kamalrajm] Instances of LinksSQL for 2 users
webmaster33 7789 Feb 18, 2005, 12:23 AM
Thread Re: [webmaster33] Instances of LinksSQL for 2 users
kamalrajm 7755 Feb 18, 2005, 3:01 AM
Post Re: [kamalrajm] Instances of LinksSQL for 2 users
webmaster33 7737 Feb 18, 2005, 3:20 AM