Mmm.. I guess so. Something like this should work; (I'm a bit rushed, so I apologise in advance if it doesn't work ;)).
my $id = $_[0];
my $db = $DB->table ('Category');
my $db2 = $DB->table ('CatLinks');
my @categoryIDs = $db2->select( ['CategoryID'],{ LinkID => $id } )->fetchrow_array;
my ($title_linked,$cat);
foreach (@categoryIDs) {
$cat = $db->get ($_, 'HASH', ['Name','Full_Name']);
$title_linked .= Links::Build::build ('title_linked', $cat->{Full_Name} . '/' . ' ');
}
return $title_linked;
}
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!
Code:
sub { my $id = $_[0];
my $db = $DB->table ('Category');
my $db2 = $DB->table ('CatLinks');
my @categoryIDs = $db2->select( ['CategoryID'],{ LinkID => $id } )->fetchrow_array;
my ($title_linked,$cat);
foreach (@categoryIDs) {
$cat = $db->get ($_, 'HASH', ['Name','Full_Name']);
$title_linked .= Links::Build::build ('title_linked', $cat->{Full_Name} . '/' . ' ');
}
return $title_linked;
}
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!