Hi
I have tried finding a way to list all links from selected categories on a separet page in a lphabetical order with no luck..
I found one global:
sub {
my $ID $_[0];
my $table = $DB->table('CatLinks','Links');
my $sth = $table->( { CategoryID => $ID }, { isValidated => 'Yes' } ) || return $GT::SQL::error;
my @titles;
while (my $hit = $sth->fetchrow_hashref) {
push(@titles,$hit->{Title});
}
return join(",",@titles);
}
But it does not seem to work..
Anyone has this working
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
I have tried finding a way to list all links from selected categories on a separet page in a lphabetical order with no luck..
I found one global:
sub {
my $ID $_[0];
my $table = $DB->table('CatLinks','Links');
my $sth = $table->( { CategoryID => $ID }, { isValidated => 'Yes' } ) || return $GT::SQL::error;
my @titles;
while (my $hit = $sth->fetchrow_hashref) {
push(@titles,$hit->{Title});
}
return join(",",@titles);
}
But it does not seem to work..
Anyone has this working
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory