I managed to write to a text file using fopen but now I would like to organize all the information on one page. I used this little script wich I found in a tutorial. But it doesn't seem to work. could anybody help me out again? I included the text file so you guys can see how the information is stored.
<?php
$array = file("file.txt");
foreach($array as $row) {
$line = explode($row, "|");
print "Name: $line[0], Email: $line[1]<br>";
}
?>
I would like to print the information out in a html-page
Thanx a lot.
Greetz...
Tim.