remove the final comma on image array
Is this possible with the upload form?
say I have
image1,image2,image3,
I'd rather have
image1,image2,image3 //the last comma is removed.
In the upload form process you have something like
Code:
$images .= $image . ",";
but Is it possible to use something to strip the last comma from the end of the array?
Code:
$images = rtrim($image, ",");
or
somehow?
Thanks for any advice