• Maybe i've been staring at this for too long, but for some reason the order of the elements keeps getting shifted. I've tried krsort() ksort() in an attempt to change the array row order prior to implode(). But nothing I do appears to change it.