How do i make it skip a line (like clicking the enter button) in the file that i am editing? Here is the code:
<?php
$fn="file.txt";
$file=fopen($fn, "a+");
$size=filesize($fn);
if(isset($_POST['submit'])){
$add=$_POST['addition'];
fwrite($file, $add);
fclose($file);}
?>
<html>
<body>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="text" name="addition" />
<input type="submit" name="submit" />
</form>
` – Joe DF Mar 02 '14 at 06:53