News

Log In Sponsors
Partner Sites

news updating



Yea im havin a problem cant figure out how to make the new news to appear at the top cheers in advance heres my code up2 now [i:uuqqcwis] <HTML> <BODY> <?php $title = $_POST['title']; $news = $_POST['news']; $password = $_POST['password']; if ( $password == 'post1000000MAIL' ) { $myFile = "news.txt"; $fh = fopen($myFile, 'a') or die("File Already Exists!"); $otitle = "<H3>"; $ctitle = "</H3><P>\n"; $finish = "<P>\n\n"; $fontoc = "<FONT color=#1b72cb>"; $fontcc = "</FONT>"; $divoc = "<DIV align=center>"; $divcc = "</DIV>"; $linesp = "<HR><P>"; $ldiv = "<DIV align=left>"; $ldivc = "</DIV>"; fwrite($fh, $fontoc); fwrite($fh, $divoc); fwrite($fh, $otitle); fwrite($fh, $title); fwrite($fh, $ctitle); fwrite($fh, $divcc); fwrite($fh, $ldiv); fwrite($fh, $news); fwrite($fh, $ldivc); fwrite($fh, $fontcc); fwrite($fh, $finish); fwrite($fh, $linesp); fclose($fh); }else{ echo "YOU ARE NOT ALOUD TO SEND MESSAGES *Waggs Finger*<P>"; } echo "<A HREF=index.php>Back to News Page.</A>"; ?> </BODY> </HTML> [/i:uuqqcwis]

Click here to read the whole forum topic