What 'split' actually does is spliting a string into an array at every pattern found.
If you want to print the contents, element by element, from an array, try this piece of code :
<?php
while(list($index, $value) = each($arr)) {
echo "|$index|$value|<br>\n";
}
?>
And if you want to have it done faster / another way, try this :
<?php
$arr_out = implode('|', $arr);
echo $arr_out;
?>
Hint : Have a look at www.php.net/split to see what the command actually does and perhaps have a look at arrays too.