I'm using a form with a textfield in order to pubish news on my home page. The problem is that I can't press ENTER and begin a new paragraph because that paragraph will end up above all news entries and will be unformatted. It will look like this (look at the last entry, it continues above all the other entries).
I'm using the script below to save my entries in a text file. Is there something I can add to that script that would make it possible to press ENTER when writing news without messing up the front page?

This is the script Iím using to write news to a textfile:
PHP Code:
<?
fopen
("news.txt""a+");
if(
$action == add){
$fp fopen("news.txt""a+");

    
$data="<span class=\"litenblue\">".date("d.m.Y")."</span> <br>";
    
$data.="<span class=\"liten\">".$form_text."</span> </p> \n";

      
fputs($fp$data);

        
fclose($fp);
    echo 
'
   <html>
   <head>
      <META HTTP-EQUIV="REFRESH" CONTENT="1; url=yo.phtml">
   </head>
   <body></body>
   </html>
   '
;
}
else{
?>

<form name="textform" method="post" action="update.phtml" class="texten">
<input type="hidden" name="action" value="add">
<p> <span class="texten">
<SCRIPT>
      if (navigator.appName == 'Netscape') {
        document.write('<textarea name="form_text" cols="25" rows="6" wrap="virtual"></textarea>\n');
      } else {
        document.write('<textarea name="form_text" cols="50" rows="6" class="formen" wrap="virtual"></textarea>\n');
      }
</SCRIPT>
</span></p>
<p> <span class="texten">
<input type="submit" name="Submit" value="Skicka!">
</span></p>
</form>

<?
}
?>
I hope you understand what I mean.