I'm very new to PHP and I'm trying to use fwrite with this code:
<?php
$File = "file.html"; //Load the file
$Handle = fopen($File, 'a');
$Data = $_GET["content"]; //Get the data
fwrite($Handle, $Data); // Write it
print "Data Written";
fclose($Handle);
?>
It works perfectly. But the problem is I want to begin writing in the line 15, not in the end of the file. Is there a way to do this? Thank you!