This news system is easy to set up, and very easy to use. It even has an admin area so it makes it easy for your moderators or news reporters to post. Once it is set up, it requires no special knowledge to post news.
Before we begin, we should set up a table in our mysql database. We will need to following fields:
Name
Subject
Message
Date
ID
The first thing to do, after setting up the database, is create the administrator area where all the posting will occure. You can name this whatever you want, but we will refer to it as newsposter.php in this example. Now place the following code in this file:
Now save that file in a directory of your choice and start a new file. Name this file, either news.php or you can place the code into your index file and have the news displayed on your index page, and put the code in it.