WARNING: DO NOT REPLY IF YOU DO NOT KNOW THE AWNSER THX
What i've been trying to do is get the new infomation to be written to the top, this is what i have so far.
$datafile = "view.php";
$fp = fopen ($datafile, "r");
$new = fread ($fp, filesize ($datafile));
fclose ($fp);
$fp = fopen( $datafile, "w" );
fwrite( $fp, $message
fwrite( $fp, $new);
fclose( $fp );
Don't message back if you have not experimented on a solution for the problem.
Thanks,
MrDanny