Ok,
I'm creating a file for my headlines of my news script. I need to be able to write to the header.html file each time a new post is sent through the form. It works but I would like to keep it tidy in the header.html file. Each time I post the stuff i post goes as follows:
Headline 1<br>Headline2<br>Headline 3<br>
I need it to be like this in the file:
Headline 1<br>
Headline 2<br>
Headline 3<br>
I am using the following to post to the file
$headerfile = "files/header.html";
$headeropen = fopen("$headerfile", "w+");
fputs($headeropen, "<a href=$time>$postname</a><br>");
flose($headeropen);
Possible?