Direktori : /home/athamevents/public_html/admin/ |
Current File : /home/athamevents/public_html/admin/video_delete.php |
<?php include 'connection.php'; ?> <?php $id=$_REQUEST["pp1"]; ?> <input type="hidden" name="pi" id="pi" value="<?php echo $id; ?>"/> <?php $delete=mysql_query("DELETE FROM video WHERE id='$id'"); if($delete) { ?> <script> alert("Delete Video"); window.location.href="all_video.php"; </script> <?php } else { ?> <script> alert("Procee not complete"); var cn=<?php echo $id ?>; window.location.href="video_view.php?pp1="+ cn; </script> <?php } ?>