il manque des points autour de $_SESSION['UserID']
$edit = mysql_query("UPDATE users (Username, EmailAddress) VALUES('".$newusername."', '".$newemail."') WHERE UserID=" . $_SESSION['UserID']);
il manque des points autour de $_SESSION['UserID']
$edit = mysql_query("UPDATE users (Username, EmailAddress) VALUES('".$newusername."', '".$newemail."') WHERE UserID=" . $_SESSION['UserID']);