<?php chdir("../"); include "inc/functions.inc.php"; $mysql->update(PRE."news", "subject='".$_POST['subject']."', submission='".parse(addslashes($_POST['news']))."'", "id='".$_POST['id']."'"); $mysql->close(); header("Location: ".SITE_URL); ?>