Commas not displaying in implode
Your problem is that you are defining the $typeName variable as an empty array at the stat of each iteration of the loop, effectively erasing it, then filling that empty array with a single term name, which you implode. You don’t see any commas because you are implodeing a one term array. Move the definition … Read more