Hello People
I know how to explode individual lines from a text file:
<?php
$array = file("tempfile.txt");
foreach($array as $row) {
$line = explode('|', $row);
print " $line[1], $line[2],etc";
}
?>
But every time I try to explode all of the information in the file I just get the word 'Array' printed, or in the case of the last attempt it printed 'Array' 2000+ times. Could someone please help me to just display the text minus the '|'deliniator of course?
Many thanks for any help offered...
John Walker