Gossamer Forum
Home : Products : DBMan : Customization :

Re: [joematt] separate contents from fields, then sort

Quote Reply
Re: [joematt] separate contents from fields, then sort In reply to
I'll try, but I'm not much of a programmer. Here is some code from my links database- it takes items, then alphabetizes them like I want. I'll try to stick something like this in, but if anyone wants to help- I would appreciate it.

#################
@alpha = split(/<br>/,$links);
foreach $line (@alpha) {
$jl = join (">",(split(/>/,$line))[1],(split(/>/,$line))[0]);
push @alpha2,$jl;
}
@alpha4 = sort @alpha2;
shift @alpha4;
foreach $line2 (@alpha4) {
$jl2 = join (">",(split(/>/,$line2))[1],(split(/>/,$line2))[0]).">";
push @alpha3,$jl2;
}
$links2 = join ("<br>", @alpha3);
Subject Author Views Date
Thread separate contents from fields, then sort sigrid 2570 May 19, 2003, 12:54 PM
Thread Re: [sigrid] separate contents from fields, then sort
joematt 2533 May 20, 2003, 6:31 AM
Thread Re: [joematt] separate contents from fields, then sort
sigrid 2531 May 20, 2003, 6:40 AM
Thread Re: [sigrid] separate contents from fields, then sort
joematt 2526 May 20, 2003, 7:39 AM
Thread Re: [joematt] separate contents from fields, then sort
sigrid 2522 May 20, 2003, 7:57 AM
Thread Re: [sigrid] separate contents from fields, then sort
joematt 2523 May 20, 2003, 8:08 AM
Post Re: [joematt] separate contents from fields, then sort
sigrid 2509 May 20, 2003, 2:17 PM