say i have a text file and at the top of it it just says
line 1 "blah blah blah blah"
line 2
line 3
etc
then i had a form like such
<form method="post" method="stuff.php">
<input type="text" name="soobajooba">
<input type="submit" name="submit" value="Submit">
</form>
theen the file stuff would printt out $soobajooba (using the fwrite() function in the txt file, but how do i ensure that the contents of $soobajooba would be inserted at the top of the txt file not at the bottom