session_start(); if ($_SESSION["id_user"] == ""){ header ("location: http://dalloul.com.br"); } include "../global/inc_mysql.php"; if($_POST["titulo_news"] != "" && $_POST["integra_news"] != ""){ $update = "UPDATE promocoes SET titulo=('".$_POST["titulo_news"]."'), corpo=('".$_POST["integra_news"]."') WHERE id=".$_POST["id_news"].""; //echo $update; $ret = mysql_query($update); include "../global/inc_insert_historico.php"; }else{ echo "