implode: combines the parts of an array to a single string,
$glue = '+';
$array = array("hello", "world", ",it's me");
$string = implode($glue, $array);
echo $string; // prints "hello+world+it's me"
explode does the opposite, it divides a string at a char and returns
an array, containnig the parts WITHOUT the "glue"
$array2 = explode("+", $string);
it's often useful to have glue = "" when using implode
the example above just removes the linebreaks from all elements
in the array
could be done with preg_replace, too