well this is quite simple.. So im taking your a nOOb just starting out in PHP so ill be real nice....
ok...
these are the mysql functions well use.. Im assuming you have mysql database..
INSERT,SELECT you can use UPDATE and DELETE use the mysql manual to read on what they are for... its mainly edit a row or delete one..
the real basic ones.. you can read up on those at the mysql official site... http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Optimisation.html#Optimise_Overview
table set up.. call it news
feild names
id ,int ,autoincrement,
primary key
Now for the form...
call this addnews.php or something similar
<table>
<form action="newsadd.php" method="post">
<tr>
<td>Headline</td><td><input type="text" name="headline">
<tr>
<td>News</td><td><textarea cols="30" rows="5" name="news"></textarea></td>
<tr>
<td></td><td><input type="submit" name="submit" value="submit"></td>
</form></table>
Now for newsadd.php
<?
$date = date("Y-m-d");// this is your date function will get todays date, and add to database
mysql_connect("hostname","user","pass");
mysql_select_db("database name here");
mysql_query("INSERT INTO news (id,headline,news,date) VALUES ('NULL','$headline','$news',$date)");
echo"<table><tr><td>Headline</td><td>$headline</td><tr><td>News</td><td>$new</td></table>";?>
Now thats your addnews..
Now lets select 5 news of the latest news articles for index.php
<?
mysql_connect("hostname","user","pass");
mysql_select_db("database name here");
$result = mysql_query("SELECT * news ORDER BY date DESC LIMIT 5");
while($r=mysql_fetch_array($result))
{
echo"<table><tr><td>$r[headline]</td><tr><td>Date Submitted on $r[date]</td><tr><td>$r[news]</td></table><br>";
}?>
that will get the latest news according to the date... and it will only have 5 of them..
now for news.php this is just the headlines.. which ill also limit to 5.
<?
echo"<table>
mysql_connect("hostname","user","pass");
mysql_select_db("database name here");
$result = mysql_query("SELECT * FROM news ORDER BY date DESC LIMIT 5");
while($r=mysql_fetch_array($result))
{
echo"<tr><td>$r[headline]</td>";
}?>