thanks for the response, but i'm a little confused by "quit including the files" do you mean i would have to stop saving the files as .txt files?
i did a search for "nl2br()" and found a few pointers i have changed
HTML Code:
<td valign="top"><?php include("archive/sum/testing123.txt"); ?></td>
sum_templat.php
into
HTML Code:
<? $myFile = file("archive/sum/testing123.txt");
// Now $myFile is an array looking like
// [0] => "row 1";
// [1] => "row 2";
// [2] => "row 3";
// .....
for ($i = 0; $i < count($myFile); $i++) { print "Row ".($i+1).": ".$myFile[$i]; };
?>
sum_template2.php
which is a start, as it least it is recognising the line breaks - just not doing anything about them. if you could point me in the way of a more in depth tutorial or tell me what i'm doing wrong i'd be grateful.
Many Thanks
Bookmarks