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')";

Is the '$_SESSION' value set?

Change your query to this:

$result = mysql_query($query,$con)or die("Error: " . mysql_error());

Does it output any errors with that in place?

I'll try that. And it appears to be working, it redirects me back to my index. And the $_SESSION is set, otherwise it wouldn't redirect me.

what is wrong with it? does it enter into the database but the values are not there? Otherwise the die() would give you an errror?