<?php include('../../config/setup.php');?>
<?php
 if(isset($_POST['Lee_tc_edit']))
 { 

  $_POST['Edit_cms_id'];
$update_tc=mysqli_query($config,"update cms set TC_cont='".$_POST['Editor1']."' where cms_id='".$_POST['Edit_cms_id']."'");
 if($update_tc==false)
{
echo  "<script>window.location.href='../TC_Master.php?erro=0';</script>".mysqli_error($update_tc);	 
}else{
	
echo  "<script>window.location.href='../TC_Master.php?mes=0';</script>";	 
	
}
 

 }

?>
 