Is there no way to do it without a loop?
Yes, there is no way to do it without a loop, assuming that by a loop you mean iteration or recursion.
there are so many array functions i thought there had to be a function that would do something to every element
Any function, be it PHP defined or user defined would use some form of iteration or recursion to solve the problem.
You simply cant get away from it, unless you hardcode the concatenation.
the only thing i found was array_walk...which eliminates the need for the loop but it requires a function.
It doesnt eliminate the loop, but merely hides it.
I didnt want to recommend that to you simply because you're just introducing an unnecessary overhead.
Hardcode it then, but then you'll soon find that you prefer writing the loops.