Is there any way to grab all the values from an array and put them into one long string.
ie:
You have an array called $pointless containing The, Man, Walks, The Dog, now if I do
$output = "$pointless[0]$pointless[1]$pointless[2]$pointless[3]$pointless[4]";
echo "Output: $output";
I get The Man Walks The Dog.
Is there a way to do this without the long and tedious way, ie, if I don't know the number of items in the array...
I've tried for/while loops and looking over the manual, I was hopeful that settype might work, but while it changed the type (according to gettype) it still just said array if I tried to echo the "string".
Thanks for any help!