I'm pretty new to PHP. I wrote this little code here:
$file = fopen("data.txt", "a+");$text = $_POST['text'];$data = fwrite($file, "$text <br>");require('data.txt');
How could I make this insert the text into the beginning of the file without writing over what's already there?