In the fopen($File, 'a'); function is there a way to have it write at the start of the file rather then the end; so newest things being added would appear first?
This is my current code to clarify a bit what I'm doing maybe. Maybe this won't help at all.
PHP Code:$File = "questions.txt";
$Handle = fopen($File, 'a');
$Data = "<p>From:" . $visitor . "<br />Submitted on:" . $todayis . "<br />" . $notes . "</p><hr />";
fwrite($Handle, $Data);
fclose($Handle);



Reply With Quote



Bookmarks