gusblake
11-19-2006, 07:57 PM
I've been working on a troublesome piece of code for hours now, and I've finally realised that the problem is that when array_unique removes duplicates from an array, the ones that don't get removed mash up the sequence of the array, IE $array[0]="something";
$array[13]="something else";
$array[15]="not duplicate";
how do I put them back in sequence, IE
$array[0]="something";
$array[1]="something else";
$array[2]="not duplicate";
any help would be much appreciated!
thanks, Gus
$array[13]="something else";
$array[15]="not duplicate";
how do I put them back in sequence, IE
$array[0]="something";
$array[1]="something else";
$array[2]="not duplicate";
any help would be much appreciated!
thanks, Gus