Its an error in your query.
$query = mysql_query("SELECT * FROM index WHERE id='$id'");
Change that to
$query = mysql_query("SELECT * FROM index WHERE id='$id'") or die(mysql_error());
Once again, its a syntax error.
if (!mysql_query("UPDATE index
SET date='$date', news='$news' id='$id'")) {
Should probably be
if (!mysql_query("UPDATE index
SET date='$date', news='$news' WHERE id='$id'")) {
ok, changed again. And thanks to another friend, the MsgPlus boards, and your help, its all fixed.
Other things I had to do:
I added a hidden input field,
put a code to request the id on the edit.php page
changed index to 'index' cause it was a reserved word.
Along with more syntax errors.
I have also fixed other parts of my site with a friend. Its all fixed now. So thanks for everyones help.