For some reason the post is not getting inserted into my database.
if($_SESSION['permissions']>=1) {
$query="INSERT INTO news (id, title, poster, posterid, body) VALUES ('$id','$title','$poster','$posterid','$body')";
$result=mysql_query($query,$con);
header("location:index.php");
}