ob_start(); session_start(); include("includes/dbconfig.php"); extract($_REQUEST); //echo $submit;exit; if(!isset($_SESSION['user_id'])){ //$_SESSION["redirect"] ="groups_categories.php"; //$_SESSION["redirect"] ="groups_categories.php"; header("Location:login.php?pag=sentmails.php?page=in"); exit; } if(isset($submit_del)) { //echo $ok;exit; $ok=$_REQUEST[ok]; $colors=$_REQUEST['chk']; $chk1=$_REQUEST['chk1']; $number=count($colors); foreach($colors as $val) { //echo "delete from pro_messages_sent where msg_id='$val'";exit; $delete2=mysql_query("delete from pro_messages_sent where msg_id='$val'"); } header("location:sentmails.php?page=in"); exit; } ?>
|
||||||||||||||||||
|
||||||||||||||||||
|